-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
58 lines (58 loc) · 1.33 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
{
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true
},
"env": {
"es6": true,
"node": true
},
"extends": "airbnb",
"plugins": [
"react"
],
"globals": {
"window": true,
"document": true
},
"rules": {
"camelcase": [
2,
{
"properties": "always"
}
],
"array-bracket-spacing": 0,
"comma-dangle": [2, "never"],
"func-names": 0,
"import/prefer-default-export": 0,
"indent": ["error", 2, { "SwitchCase": 1 }],
"jsx-quotes": [2, "prefer-single"],
"max-len": [2, 120],
"new-cap": 0,
"no-confusing-arrow": 0,
"no-continue": 0,
"no-mixed-spaces-and-tabs": 2,
"no-multi-spaces": 2,
"no-new": 2,
"no-param-reassign": ["error", { props: false }],
"no-trailing-spaces": 2,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 2,
"object-curly-spacing": 0,
"object-shorthand": [2, "always"],
"react/display-name": 2,
"react/jsx-indent": "off",
"react/jsx-no-undef": 2,
"react/jsx-quotes": 0,
"react/jsx-sort-props": 2,
"react/prefer-stateless-function": 1,
"react/sort-prop-types": 2,
"sort-vars": 2,
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"vars-on-top": 0
}
}