.eslintrc
823 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
40
41
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
},
"rules": {
"quotes": [2, "single"],
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"eol-last": [0],
"space-infix-ops": [0],
"no-use-before-define": [2, "nofunc"],
"no-underscore-dangle": [0],
"handle-callback-err": [0],
"no-unused-expressions": [0],
"semi": [2, "always"],
"strict": [2, "never"],
"comma-dangle": [2, "never"],
"react/jsx-uses-react": [2],
"react/jsx-uses-vars": [2],
},
"env": {
"browser": true,
"node": true
},
"plugins": [
"react"
],
"globals": {
"describe" : false,
"it" : false,
"before" : false,
"beforeEach" : false,
"after" : false,
"afterEach" : false,
"expect" : false,
"bookshelf" : false
}
}