-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.json
55 lines (55 loc) · 1 KB
/
.eslintrc.json
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"jest"
],
"env": {
"es6": true,
"node": true,
"jest": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"semi": [
2,
"always"
],
"quotes": [
2,
"double"
],
"comma-spacing": 2,
"indent": [
2,
2
],
"no-constant-condition": 2,
"no-case-declarations": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": 0,
"comma-dangle": [
2,
"always-multiline"
],
"no-var": 2,
"eqeqeq": [
2,
"allow-null"
],
"no-trailing-spaces": 2,
"arrow-spacing": 2,
"object-curly-spacing": [
2,
"always"
]
}
}