-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
40 lines (40 loc) · 1.04 KB
/
Copy path.eslintrc
File metadata and controls
40 lines (40 loc) · 1.04 KB
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
{
"parser": "babel-eslint",
"extends": ["airbnb"],
"rules": {
"react/no-did-mount-set-state": 1,
"react/no-unused-prop-types": 1,
"no-undef": 0,
"no-console": 0,
"no-unused-vars": 1,
"jsx-a11y/media-has-caption": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/no-array-index-key": 0,
"import/no-unresolved": [2, { "ignore": ["\/~*"] }],
"linebreak-style": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/extensions": ["off", "never"],
"import/prefer-default-export": 0,
"wrap-iife": [1, "outside"],
// "import/prefer-default-export": "off",
"react/prefer-stateless-function": [1, { "ignorePureComponents": true }],
"object-shorthand": 0,
"react/self-closing-comp": ["error", {
"component": true,
"html": false
}],
"max-len": "off",
"class-methods-use-this": "off",
},
"globals": {
"document": false
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"react"
]
}