-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
42 lines (42 loc) · 975 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
{
"extends": "airbnb",
"parser": "typescript-eslint-parser",
"env": {
"node": true,
"jest": true
},
"globals": {
"expect": true,
"fetch": true,
"localStorage": true,
"window": true,
"document": true,
"navigator": true
},
"plugins": [
"import",
"typescript"
],
"rules": {
"no-underscore-dangle": [2, { "allow": ["_id", "__", "_json"] }],
"no-console": "error",
"max-len": [1, 120, 2],
"no-tabs": "off",
"import/no-dynamic-require": 0,
"import/prefer-default-export": 0,
"import/no-named-as-default-member": "off",
"no-confusing-arrow": 0,
"indent": [0, 2],
"react/jsx-indent": [0, 2],
"no-useless-concat": "off",
"no-mixed-operators": "off",
"no-param-reassign": "off",
"function-paren-newline": "off",
"comma-dangle": [2, {
"functions": "never",
"objects": "always-multiline"
}],
"arrow-parens": 0,
"class-methods-use-this": 0
}
}