-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc
66 lines (66 loc) · 1.18 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
{
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"extends": [
"eslint-config-airbnb"
],
"globals": {
},
"rules": {
"comma-dangle": 0,
"consistent-return": 0,
"func-names": 0,
"global-require": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"indent": 0,
"key-spacing": 0,
"linebreak-style": 0,
"new-cap": 0,
"no-cond-assign": 0,
"no-empty": 0,
"no-fallthrough": 0,
"no-loop-func": 0,
"no-mixed-operators": 0,
"no-new": 0,
"no-param-reassign": 0,
"no-restricted-syntax": 0,
"no-return-assign": 0,
"no-underscore-dangle": 0,
"object-curly-spacing": 0,
"prefer-rest-params": 0,
"react/jsx-filename-extension": 0,
"react/jsx-space-before-closing": 0,
"strict": 0,
"max-len": [
2,
120,
4,
{
"ignoreUrls": true
}
],
"id-length": [
2,
{
"min": 1
}
],
"class-methods-use-this": [
1,
{
"exceptMethods": [
"CLASSNAME"
]
}
]
}
}