-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy patheslint.config.js
More file actions
29 lines (28 loc) · 822 Bytes
/
eslint.config.js
File metadata and controls
29 lines (28 loc) · 822 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
28
29
import { globalIgnores } from 'eslint/config'
import baseConfig from '@trigen/eslint-config'
import moduleConfig from '@trigen/eslint-config/module'
import tsConfig from '@trigen/eslint-config/typescript'
// 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/']),
...baseConfig,
...moduleConfig,
...tsConfig,
// ...tsTypeCheckedConfig,
...testConfig,
env.node,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname
}
},
rules: {
'@typescript-eslint/no-magic-numbers': 'off',
'@stylistic/array-element-newline': 'off'
}
}
]