-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.json
32 lines (32 loc) · 933 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
{
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"globals": {
"APP_ENV": true,
"globalThis": true,
"google": true,
"it": true
},
"rules": {
"import/no-extraneous-dependencies": ["off"], // Need to use external dep like webpack-dashboard
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], // Need to use jsx
"import/extensions": ["off"], // Use file extensions
"no-underscore-dangle": ["off"],
"react/prop-types": ["off"],
"jsx-a11y/control-has-associated-label": ["off"],
"react/forbid-prop-types": ["off"],
"object-curly-newline": ["off"],
"react/jsx-fragments": ["off" ],
"react/jsx-props-no-spreading": ["off"],
"func-names": ["off"],
"no-restricted-exports": ["off"],
"import/no-named-as-default": 0,
"react/require-default-props": ["off"]
},
"parserOptions": {
"ecmaVersion":"latest"
}
}