-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1005 Bytes
/
.eslintrc
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
{
"extends": ["airbnb", "prettier"],
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"babelOptions": {
"parserOpts": {
"plugins": ["jsx"]
}
}
},
"env": {
"browser": true,
"node": true
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
},
"rules": {
// eslint
"camelcase": 0,
"lines-between-class-members": 0,
"max-classes-per-file": 0,
"max-len": 0,
"new-cap": 0,
"no-bitwise": 0,
"no-cond-assign": 0,
"no-console": 0,
"no-continue": 0,
"no-octal-escape": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
// eslint-plugin-import
"import/prefer-default-export": 0,
//jsx-a11y
"jsx-a11y/click-events-have-key-events": 0,
// react
"react/destructuring-assignment": 0
}
}