generated from replugged-org/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
58 lines (53 loc) · 1.28 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
52
53
54
55
56
57
58
root: true
extends:
- eslint-config-dmitmel/presets/node
env:
browser: true
parser: "@typescript-eslint/parser"
parserOptions:
sourceType: module
plugins:
- "@typescript-eslint"
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-missing-require: off
node/no-missing-import: off
node/no-unpublished-import: off
node/no-unpublished-require: off
node/shebang: off
no-process-exit: off
no-undef: off
no-unused-vars: off
no-async-promise-executor: off
"@typescript-eslint/no-unused-vars": error
overrides:
- files: "**/*.ts"
extends: eslint-config-dmitmel/presets/typescript-addon
rules:
node/no-missing-import: off
eqeqeq: off
\@typescript-eslint/no-dynamic-delete: off
no-return-assign: off
no-void: off
consistent-return: 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