-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.yml
51 lines (42 loc) · 1.03 KB
/
.eslintrc.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
extends: eslint-config-dmitmel/presets/node
env:
browser: true
parserOptions:
sourceType: module
rules:
func-names: off
node/no-unsupported-features/es-syntax:
- error
- ignores:
- modules
- dynamicImport
node/no-unsupported-features/es-builtins:
- error
- ignores:
- globalThis
node/no-unsupported-features/node-builtins:
- error
- ignores:
- fs.promises
node/no-unpublished-import: off
node/no-unpublished-require: off
node/shebang: off
overrides:
- files: '**/*.ts'
extends: eslint-config-dmitmel/presets/typescript-addon
rules:
node/no-missing-import: off
- files: '**/src/**/*.ts'
extends: eslint-config-dmitmel/rules/typescript/with-type-checking
- files: '**/*.d.ts'
rules:
no-var: off
- files: 'src/**/*.ts'
parserOptions:
project: tsconfig.json
- files: 'common/src/**/*.ts'
parserOptions:
project: common/tsconfig.json
- files: 'runtime/src/**/*.ts'
parserOptions:
project: runtime/tsconfig.json