Skip to content

Commit 3906ff8

Browse files
committed
Eslint: Use non flat configuration
The TypeScript Eslint version currently supported do not require the flat configuration.
1 parent 54ef7fc commit 3906ff8

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.eslintrc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
},
66
"extends": [
77
"eslint:recommended",
8-
"plugin:@typescript-eslint/recommended"
8+
"plugin:@typescript-eslint/recommended-type-checked"
99
],
1010
"parser": "@typescript-eslint/parser",
1111
"parserOptions": {
12+
"project": true,
1213
"ecmaVersion": "latest",
1314
"sourceType": "module",
14-
"project": "./tsconfig.json"
15+
"tsconfigRootDir": "./"
1516
},
1617
"plugins": [
1718
"@typescript-eslint"

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)