-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (45 loc) · 990 Bytes
/
.eslintrc.json
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
46
{
"rules": {
"react/jsx-uses-react": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"quotes": [2, "double"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"react/no-find-dom-node": "off",
"no-debugger": [1]
},
"settings": {
"react": {
"version": "detect"
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended"],
"plugins": ["react"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"arrowFunctions": true,
"objectLiteralShorthandMethods": true
}
},
"globals": {
"API_URL": "readonly",
"AUTH_URL": "readonly",
"APP_ENV": "readonly",
"WAMS_URL": "readonly",
"__webpack_public_path__": "readonly",
"MGR_URL": "readonly",
"GIVE_URL": "readonly",
"TEMPLATE_URL": "readonly"
}
}