-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.03 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
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"amd": true,
"es6": true,
"node": true,
"jasmine": true
},
"rules": {
"no-shadow": 1,
"array-callback-return": 1,
"no-else-return": 1,
"consistent-return": 1,
"indent": [1, 4, {"SwitchCase": 1}],
"semi": 1,
"comma-dangle": [1, "always-multiline"],
"quotes": [ 1, "single" ],
"no-undef": 1,
"global-strict": 0,
"no-extra-semi": 1,
"no-underscore-dangle": 0,
"no-console": 1,
"no-unused-vars": 1,
"no-trailing-spaces": [1, { "skipBlankLines": true }],
"no-unreachable": 1,
"no-alert": 0,
"react/jsx-filename-extension": 1,
"react/prefer-stateless-function": 1,
"react/jsx-first-prop-new-line": [1, "multiline"],
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/jsx-no-bind": [1, { "ignoreRefs": true }]
}
}