-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
57 lines (57 loc) · 1.21 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
{
"extends": [
"airbnb"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"react"
],
"rules": {
"no-else-return": 0,
"implicit-arrow-linebreak": 0,
"no-prototype-builtins": 0,
"prefer-destructuring": 0,
"arrow-parens": 0,
"no-debugger": 1,
"no-console": 1,
"arrow-body-style": 0,
"no-unused-vars": 1,
"new-cap": 2,
"strict": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"max-len": ["warn", 120],
"lines-between-class-members": ["error", "always"],
"eol-last": 0,
"quotes": [2, "single"],
"jsx-quotes": [1, "prefer-single"],
"semi": [
"warn",
"always"
],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-unused-prop-types": 1,
"react/prop-types": 0,
"import/no-unresolved": 0,
"no-param-reassign": 0,
"array-callback-return": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"no-unused-expressions": [2, {"allowShortCircuit": true}]
},
"settings": {
"react": {
"pragma": "React",
"version": "16.6"
}
}
}