forked from sysgears/apollo-universal-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 734 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": [
"airbnb/base",
"plugin:import/errors",
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"no-use-before-define": 0,
"arrow-body-style": 0,
"dot-notation": 0,
"no-console": 0,
"react/jsx-key": 0,
"semi": 2
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./tools/webpack.entry.js"
}
}
},
"env": {
"mocha": true
},
"globals": {
"window": true,
"document": true,
"__DEV__": true,
"__TEST__": true,
"__CLIENT__": true,
"__SERVER__": true,
"__SSR__": true,
"__PERSIST_GQL__": true,
"__BACKEND_URL__": true
},
"plugins": [
"react"
]
}