forked from plouc/mozaik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
63 lines (63 loc) · 1.67 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"blockBindings": true,
"jsx": true
},
},
"env": {
"browser": true,
"es6": true
},
"plugins": [
"react"
],
"rules": {
"semi": 2,
"prefer-template": 2,
"indent": [2, 4, {
"SwitchCase": 1
}],
"dot-notation": [2, {
"allowKeywords": true
}],
"key-spacing": [2, {
"align": "value",
"beforeColon": false,
"afterColon": true
}],
"quotes": [2, "single"],
"jsx-quotes": [2, "prefer-double"],
"array-bracket-spacing": [2, "never"],
"eol-last": 2,
"comma-style": [2, "last"],
"space-before-function-paren": [2, {
"anonymous": "always",
"named": "never"
}],
"react/jsx-key": 2,
"react/jsx-pascal-case": 2,
"react/jsx-indent": [2, 4],
"react/jsx-closing-bracket-location": 2,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-no-duplicate-props": [2, {
"ignoreCase": true
}],
"react/jsx-no-bind": [1, {
"ignoreRefs": false,
"allowArrowFunctions": false,
"allowBind": false
}],
"react/no-direct-mutation-state": 2,
"react/no-deprecated": [2, {
"react": "0.13.3"
}],
"react/prop-types": [1, {}],
"react/react-in-jsx-scope": 2,
"react/prefer-es6-class": [2, "always"],
"react/display-name": 2
}
}