-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.eslintrc
More file actions
39 lines (39 loc) · 829 Bytes
/
.eslintrc
File metadata and controls
39 lines (39 loc) · 829 Bytes
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
{
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true,
},
"parser": "babel-eslint",
"rules": {
"new-cap": [2, {
"newIsCap": true,
"capIsNew": false,
}],
"no-const-assign": 2,
"no-use-before-define": [2, "nofunc"],
"brace-style": [2, // http://eslint.org/docs/rules/brace-style
"stroustrup", {
"allowSingleLine": true
}],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"react/jsx-no-bind": 0,
"react/jsx-filename-extension": 0,
"prefer-template": 0,
"indent": [2, 2, {"SwitchCase": 1}],
},
"globals": {
"browser": true
},
"extends": "eslint-config-airbnb",
"plugins": [
"react"
]
}