diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..9ff5c1c --- /dev/null +++ b/.eslintignore @@ -0,0 +1,4 @@ +lib/ +dist/ +node_modules/ +coverage/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6651df..88f3c06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,9 +37,9 @@ jobs: id: npm-format-check run: npm run format:check - # - name: Lint - # id: npm-lint - # run: npm run lint + - name: Lint + id: npm-lint + run: npm run lint - name: Test id: npm-ci-test diff --git a/eslint.config.js b/eslint.config.js deleted file mode 100644 index 3ed13d3..0000000 --- a/eslint.config.js +++ /dev/null @@ -1,5 +0,0 @@ -export default [ - { - ignores: ['dist/**', 'lib/**', 'node_modules/**', 'coverage/**', '**/*.yml'] - } -] diff --git a/package.json b/package.json index b1fcdc8..de5560d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt", "package:watch": "npm run package -- --watch", "test": "npx jest", - "all": "npm run format:write && npm run test && npm run coverage && npm run package" + "all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package" }, "engines": { "node": ">=21" @@ -40,7 +40,7 @@ "@types/node": "^22.10.1", "@typescript-eslint/parser": "^8.16.0", "@vercel/ncc": "^0.38.3", - "eslint": "^9.16.0", + "eslint": "^8.0.1", "eslint-plugin-github": "^5.1.3", "eslint-plugin-jest": "^28.9.0", "jest": "^29.7.0",