-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
53 lines (53 loc) · 1.43 KB
/
.eslintrc.json
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
48
49
50
51
52
53
{
"env": {
"browser": true,
"es2020": true
},
"extends": [
"airbnb-base"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"camelcase": 0,
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"import/extensions": ["error", "ignorePackages", {
"js": "always"
}],
"lines-between-class-members": ["error", "always", {"exceptAfterSingleLine": true}],
"import/prefer-default-export": 0,
"indent": ["error", 4],
"no-unused-expressions": 0,
"no-unused-vars": 0,
"no-console": "warn",
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"object-curly-newline": ["error", { "multiline": true }],
"comma-dangle": ["error", "always-multiline"],
"linebreak-style": ["error", "windows"],
"no-param-reassign": ["error", { "props": false }],
"no-return-await": "off",
"no-useless-escape": 0,
"consistent-return": 0,
"import/named": "error",
"camelcase": 0,
"no-trailing-spaces": 0,
"no-plusplus": 0,
"array-callback-return": 0,
"class-methods-use-this": 0
}
}