Skip to content

Commit

Permalink
type checking for eslint.config.mjs is garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Aug 5, 2024
1 parent fcfd6e3 commit f5ca5ad
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 78 deletions.
12 changes: 0 additions & 12 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,4 @@ export default ts.config(
'mocha/no-top-level-hooks': 'error',
},
},
{
files: ['eslint.config.mjs'],
languageOptions: {
parserOptions: {
project: 'tsconfig.eslint.json',
},
},
rules: {
'@typescript-eslint/naming-convention': 'off',
'n/no-extraneous-import': 'off',
},
},
);
48 changes: 0 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"watch:tsc": "tsc -p . --watch --preserveWatchOutput --pretty",
"watch:mocha": "mocha --watch-files \"./test/*.js\"",
"watch": "concurrently -c auto npm:watch:tsc npm:watch:mocha",
"lint:eslint": "eslint --max-warnings 0 \"./**/*.ts\" eslint.config.mjs",
"lint:tsc-eslint": "tsc -p tsconfig.eslint.json",
"lint:eslint": "eslint --max-warnings 0 \"./**/*.ts\"",
"lint:prettier": "prettier --check \"./**/*.ts\" \"./**/*.mjs\"",
"lint": "concurrently -c auto npm:lint:eslint npm:lint:prettier npm:lint:tsc-eslint",
"lint": "concurrently -c auto npm:lint:eslint npm:lint:prettier",
"fix:eslint": "eslint --fix \"./**/*.ts\"",
"fix:prettier": "prettier --write \"./**/*.ts\" \"./**/*.mjs\"",
"fix": "concurrently -m 1 -c auto npm:fix:eslint npm:fix:prettier",
Expand Down Expand Up @@ -52,9 +51,6 @@
"shlex": "^2.1.2"
},
"devDependencies": {
"@types/eslint": "^9.6.0",
"@types/eslint__js": "^8.42.3",
"@types/eslint-plugin-mocha": "^10.4.0",
"@types/mocha": "^10.0.7",
"@types/mock-require": "^2.0.3",
"@types/node": "^22.1.0",
Expand Down
12 changes: 0 additions & 12 deletions tsconfig.eslint.json

This file was deleted.

0 comments on commit f5ca5ad

Please sign in to comment.