-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
70 lines (70 loc) · 1.11 KB
/
.eslintrc
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
59
60
61
62
63
64
65
66
67
68
69
70
{
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"google",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"globals": {
"expect": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".ts"
]
}
}
},
"rules": {
"no-console": "off",
"require-jsdoc": 0,
"indent": [
2,
"tab"
],
"@typescript-eslint/explicit-function-return-type": 0,
"new-cap": 0,
"no-tabs": 0,
"max-len": [
"error",
{
"code": 130,
"ignoreComments": true
}
],
"import/no-unresolved": "warn",
"no-multi-assign": 0,
"no-warning-comments": 0,
"object-curly-spacing": [
"error",
"always",
{
"objectsInObjects": false
}
],
"array-bracket-spacing": [
"error",
"always"
],
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": "off"
}
}