-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 818 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
{
"root": true,
// "parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true
},
"plugins": ["import", "jsx-a11y"],
"extends": ["eslint-config-airbnb"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"rules": {
"no-console": ["warn"],
"no-useless-escape": 0,
"no-empty": 0,
"comma-dangle": 0,
"arrow-parens": ["error", "as-needed"],
"import/prefer-default-export": "off",
"import/no-cycle": "off",
"no-underscore-dangle": "off",
"no-bitwise": "off",
"no-mixed-operators": "off",
"max-len": ["error", { "code": 120 }],
"class-methods-use-this": "off",
"no-plusplus": "off"
}
}