-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
27 lines (26 loc) · 752 Bytes
/
eslint.config.js
File metadata and controls
27 lines (26 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { globalIgnores } from 'eslint/config'
import baseConfig from '@trigen/eslint-config'
import moduleConfig from '@trigen/eslint-config/module'
import tsTypeCheckedConfig from '@trigen/eslint-config/typescript-type-checked'
import testConfig from '@trigen/eslint-config/test'
import env from '@trigen/eslint-config/env'
export default [
globalIgnores(['**/dist/', '**/package/', '**/coverage/']),
...baseConfig,
...moduleConfig,
...tsTypeCheckedConfig,
...testConfig,
env.node,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname
}
},
rules: {
'@typescript-eslint/no-unnecessary-type-arguments': 'off',
'no-console': 'off'
}
}
]