-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
47 lines (47 loc) · 1.03 KB
/
.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
47
{
"root": true,
"parser": "babel-eslint",
"extends": ["airbnb"],
"plugins": ["prettier"],
"rules": {
"func-names": "off",
"no-return-assign": "off",
"consistent-return": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"linebreak-style": "off",
"max-len": ["error", {"code": 120}],
"prefer-destructuring": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"import/prefer-default-export": "off",
"react/static-property-placement": "off",
"react/sort-comp": "off",
"react/destructuring-assignment": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/anchor-has-content": "off",
"no-empty": "off"
},
"globals": {
"global": true,
"window": true
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"parserOptions": {
"impliedStrict": true,
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "detect"
}
}
}