-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.js
39 lines (38 loc) · 1.09 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
const path = require('path');
module.exports = {
"env": {
"browser": true,
"jest": true,
},
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"comma-dangle": ["error", {
"functions": "ignore",
"objects": "always-multiline",
"imports": "always-multiline",
"arrays": "always-multiline",
}],
"import/prefer-default-export": 0,
"indent": ["error", "tab"],
"jsx-a11y/no-noninteractive-element-to-interactive-role": 0,
"no-alert": 0,
"no-param-reassign": [2, {"props": false}],
"no-plusplus": 0,
"no-tabs": 0,
"no-underscore-dangle": 0,
"object-curly-newline": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/jsx-indent": [2, 'tab'],
"react/jsx-indent-props": [2, 'tab'],
"react/jsx-one-expression-per-line": 0
},
"settings": {
"import/resolver": {
"node": {
"paths": [path.resolve(__dirname, 'app')]
}
}
}
};