-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
50 lines (50 loc) · 912 Bytes
/
.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
{
"extends": "eslint:recommended",
"parser": "typescript-eslint-parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"semi": 2,
"curly": 2,
"no-undef": "off",
"object-curly-newline": [
"error",
{
"consistent": true
}
],
"no-trailing-spaces": [
"error",
{
"skipBlankLines": false,
"ignoreComments": false
}
],
"no-tabs": 2,
"no-var": 2,
"prefer-const": 2,
"prefer-spread": 2,
"prefer-rest-params": 2,
"prefer-arrow-callback": 2,
"no-duplicate-imports": 2,
"no-dupe-class-members": 2,
"no-const-assign": 2,
"no-confusing-arrow": 2,
"no-lonely-if": 2,
"no-continue": 2,
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"quotes": [
2,
"double",
"avoid-escape"
]
}
}