-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
49 lines (49 loc) · 1.24 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"rules": {
"arrow-body-style": 0,
"arrow-parens": 0,
"class-methods-use-this": 0,
"comma-dangle": ["error", "never"],
"consistent-return": 0,
"func-names": 1,
"max-len": 1,
"new-cap": 0,
"no-else-return": 0,
"no-mixed-operators": 0,
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
"no-return-assign": 1,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"no-var": 1,
"object-curly-spacing": 0,
"object-shorthand": 1,
"one-var-declaration-per-line": 1,
"one-var": 1,
"padded-blocks": 0,
"prefer-arrow-callback": 0,
"prefer-const": 1,
"prefer-spread": 1,
"prefer-template": 1,
"quotes": 1,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/jsx-no-bind": 0,
"react/no-multi-comp": 0,
"react/no-unused-prop-types": 1,
"react/prefer-es6-class": 1,
"react/prefer-stateless-function": 0,
"react/prop-types": 1,
"react/require-default-props": 0,
"react/sort-comp": 0,
"space-before-function-paren": 0,
"vars-on-top": 1
},
"plugins": ["react"]
}