-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 917 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
{
"env": {
"browser": true,
"es6": true
},
"extends": ["plugin:react/recommended", "airbnb"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react"],
"ignorePatterns": ["src/components"],
"rules": {
"react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }],
"import/no-unresolved": "off",
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"max-len": "off",
"no-shadow": "off",
"import/no-extraneous-dependencies": "off",
"import/no-named-as-default-member": "off",
"import/no-named-as-default": "off",
"camelcase": "off",
"import/prefer-default-export": "off",
"no-use-before-define": "off",
"arrow-parens": ["error", "as-needed"]
}
}