-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
54 lines (54 loc) · 1.15 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
root: true
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
extends:
- "eslint:recommended"
- "plugin:@typescript-eslint/recommended"
- "prettier"
- "prettier/@typescript-eslint"
env:
node: true
rules:
no-console:
- error
- allow:
- warn
- error
no-debugger: error
comma-dangle:
- warn
- arrays: "always-multiline"
exports: "always-multiline"
functions: "always-multiline"
imports: "always-multiline"
objects: "always-multiline"
comma-spacing:
- error
- before: false
after: true
quotes:
- error
- single
no-unused-vars: error
"@typescript-eslint/no-unused-vars": off
"@typescript-eslint/explicit-module-boundary-types": off
"@typescript-eslint/member-delimiter-style":
- warn
- multiline:
delimiter: semi
requireLast: true
singleline:
delimiter: semi
requireLast: false
overrides:
- files:
- "**/__tests__/*.(spec|test).{j,t}s"
env:
jest: true
rules:
"@typescript-eslint/no-unused-vars": warn
- files:
- "*.js"
rules:
"@typescript-eslint/no-var-requires": off