Skip to content

Commit

Permalink
use @types/eslint-plugin-mocha for type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Mar 9, 2024
1 parent cd128f1 commit d91c69e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 22 deletions.
4 changes: 2 additions & 2 deletions playground/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default ts.config(
eslint.configs.recommended,
...ts.configs.recommendedTypeChecked,
{
files: ['index.ts', 'test.ts', 'lib.d.ts'],
files: ['*.ts'],
languageOptions: {
parserOptions: {
project: 'tsconfig.json',
Expand Down Expand Up @@ -41,7 +41,7 @@ export default ts.config(
},
},
{
files: ['eslint.config.mjs', 'eslint.d.ts'],
files: ['eslint.config.mjs'],
languageOptions: {
parserOptions: {
project: 'tsconfig.eslint.json',
Expand Down
17 changes: 0 additions & 17 deletions playground/eslint.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"devDependencies": {
"@peculiar/webcrypto": "^1.4.5",
"@types/codemirror": "^5.60.15",
"@types/eslint": "^8.56.5",
"@types/eslint__js": "^8.42.3",
"@types/eslint-plugin-mocha": "^10.4.0",
"@types/node": "^20.11.24",
"@types/pako": "^2.0.3",
"eslint": "^8.57.0",
Expand Down
3 changes: 1 addition & 2 deletions playground/tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"moduleResolution": "nodenext"
},
"files": [
"eslint.config.mjs",
"eslint.d.ts"
"eslint.config.mjs"
]
}

0 comments on commit d91c69e

Please sign in to comment.