-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (46 loc) · 984 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
{
"root": true,
"extends": ["airbnb", "prettier", "eslint:recommended", "plugin:react/recommended", "plugin:json/recommended"],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"no-unused-vars": "warn",
"func-names": "off",
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"sort-imports": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"react/no-array-index-key": "off",
"react/jsx-props-no-spreading": "off"
},
"env": {
"browser": true,
"es6": true,
"commonjs": true,
"webextensions": true
},
"globals": {
"process": true
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["prettier", "react"],
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
}
}