-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
45 lines (45 loc) · 995 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
{
"extends": ["airbnb-base", "plugin:react/recommended"],
"plugins": ["react", "import"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"import/resolver": "webpack"
},
"rules": {
"indent": "off", // prettier handles auto-indentation
"func-names": [1, "as-needed"],
"no-mixed-operators": 0,
"arrow-parens": 0,
"consistent-return": 0,
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": false
}
],
"import/first": [
"error",
{
"absolute-first": false
}
],
"react/prefer-stateless-function": [0],
"import/prefer-default-export": [0],
"class-methods-use-this": [0],
"max-len": ["error", 120],
"import/no-extraneous-dependencies": [0],
"no-param-reassign": [0],
"react/no-deprecated": [0],
"import/no-duplicates": [0]
},
"env": {
"jest": true,
"browser": true
}
}