-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
38 lines (38 loc) · 883 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
{
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"no-underscore-dangle": "off",
"linebreak-style": "off",
"import/extensions": "off",
"react/no-array-index-key": "off",
"react/jsx-tag-spacing": "off",
"import/prefer-default-export": "off",
"no-shadow": [1, { "allow": ["done", "err", "error", "next"] }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"quotes": [1, "single"],
"no-plusplus": "off",
"no-alert": "off",
"max-len": [2, 120, 2, {
"ignoreUrls": true,
"ignoreComments": false
}],
"consistent-return": "off"
},
"globals": {
"__API_ENDPOINT__": true,
"ENVIRONMENT": true,
"process.env": true
},
"plugins": [
"react"
],
"extends": "evozonjs"
}