-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
34 lines (34 loc) · 954 Bytes
/
.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
module.exports = {
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"indent": [2, 2, { "SwitchCase": 1 }],
"constructor-super": 2,
"no-console": 0,
"no-alert": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/prop-types": 1,
"react/jsx-max-props-per-line": 1,
"react/jsx-no-bind": 1,
"jsx-a11y/anchor-is-valid": ["error", {}],
"no-underscore-dangle": "off",
"react/sort-comp": "off",
"class-methods-use-this": "off",
"import/prefer-default-export": "off",
"no-mixed-operators": "off",
"arrow-body-style": "off",
}
};