1
- import nodev20 from '@strv/eslint-config-node/v20 '
1
+ import node from '@strv/eslint-config-node'
2
2
import nodeopt from '@strv/eslint-config-node/optional'
3
3
import nodestyle from '@strv/eslint-config-node/style'
4
4
import ts from '@strv/eslint-config-typescript'
@@ -12,13 +12,13 @@ const globs = {
12
12
tests : '**/*.test.ts' ,
13
13
}
14
14
15
- /** @type {Array<import("eslint").Linter.FlatConfig > } */
15
+ /** @type {Array<import("eslint").Linter.Config > } */
16
16
const config = [
17
17
{ linterOptions : {
18
18
reportUnusedDisableDirectives : true ,
19
19
} } ,
20
20
{ ignores : [ '**/*.js' , '**/*.d.ts' , 'node_modules' ] } ,
21
- { files : [ globs . ts , globs . mjs ] , ...nodev20 } ,
21
+ { files : [ globs . ts , globs . mjs ] , ...node } ,
22
22
{ files : [ globs . ts , globs . mjs ] , ...nodeopt } ,
23
23
{ files : [ globs . ts , globs . mjs ] , ...nodestyle } ,
24
24
@@ -27,12 +27,6 @@ const config = [
27
27
{ files : [ globs . ts ] , ...tsstyle } ,
28
28
29
29
{ files : [ globs . tests ] , ...mocha } ,
30
-
31
- // Any custom settings to be applied
32
- { files : [ globs . ts ] ,
33
- languageOptions : {
34
- parserOptions : { project : './tsconfig.json' } ,
35
- } } ,
36
30
]
37
31
38
32
export default config
0 commit comments