-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
48 lines (48 loc) · 1.13 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
},
"rules": {
"indent": [1, 2],
"max-len": [1, 150],
"no-var": 0,
"prefer-template": 0,
"comma-dangle": 2,
"class-methods-use-this": 0,
"arrow-body-style": [1, "as-needed"],
"import/extensions": 0,
"import/prefer-default-export": 1,
"space-infix-ops": 0,
"object-shorthand": 0,
"spaced-comment": 0,
"vars-on-top": 0,
"arrow-spacing": 0,
"no-case-declarations": 0,
"func-names": 0,
"skipBlankLines": 0,
"no-param-reassign": 0,
"new-cap": 0,
"react/no-did-mount-set-state": 0,
"react/sort-comp": 0,
"react/jsx-indent": [1, 2],
"react/jsx-indent-props": [1, 2],
"react/jsx-filename-extension": 0,
"react/require-default-props": 1,
"react/prop-types": 1,
"react/prefer-stateless-function": 0,
"react/no-string-refs": 0,
"react/no-find-dom-node": 0,
"react/forbid-prop-types": 0,
"jsx-a11y/href-no-hash": 0,
},
"globals": {
"_": true,
"sails": true,
"TodoList": true,
"TodoItem": true,
"User": true,
},
}