-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
41 lines (41 loc) · 1.04 KB
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"ecmaFeatures": {
"jsx": true,
"arrowFunctions": true,
"blockBindings": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"templateStrings": true,
"modules": true,
"classes": true
},
"rules": {
"react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
"import/prefer-default-export": 0,
"react/no-string-refs": 0,
"class-methods-use-this": 0,
"no-unused-expressions": 0,
"react/no-unused-prop-types": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"react/jsx-curly-brace-presence": 0,
"no-underscore-dangle": 0,
"react/forbid-prop-types": 0,
"jsx-quotes": 0,
"react/no-array-index-key": 0,
}
};