-
Notifications
You must be signed in to change notification settings - Fork 48
/
.eslintrc
75 lines (75 loc) · 2.36 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"parserOptions": {
"ecmaVersion": 2020
},
"env": {
"es6": true
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["@", "./src"]
]
}
}
},
"extends": "airbnb-base",
"rules": {
"no-console": "off",
"array-element-newline": ["error", "consistent"],
"indent": ["error", 4, { "MemberExpression": 0, "SwitchCase": 1 }],
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"comma-dangle": ["error", "always-multiline"],
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"max-len": ["error", 140],
"no-new": "off",
"linebreak-style": "off",
"import/extensions": "off",
"eol-last": "off",
"no-shadow": "off",
"no-unused-vars": "warn",
"import/no-cycle": "off",
"arrow-parens": "off",
"eqeqeq": "off",
"no-param-reassign": "off",
"import/prefer-default-export": "off",
"no-use-before-define": "off",
"no-continue": "off",
"prefer-destructuring": "off",
"no-plusplus": "off",
"prefer-const": "off",
"global-require": "off",
"no-prototype-builtins": "off",
"consistent-return": "off",
"vue/require-component-is": "off",
"prefer-template": "off",
"one-var-declaration-per-line": "off",
"one-var": "off",
"import/named": "off",
"object-curly-newline": "off",
"default-case": "off",
"space-infix-ops": "off",
"import/order": "off",
"no-trailing-spaces": "off",
"func-names": "off",
"radix": "off",
"no-unused-expressions": "off",
"no-underscore-dangle": "off",
"no-bitwise": "off",
"import/no-dynamic-require": "off",
"import/no-unresolved": "off",
"import/no-self-import": "off",
"import/no-extraneous-dependencies": "off",
"import/no-useless-path-segments": "off",
"import/newline-after-import": "off",
"no-path-concat": "off",
"guard-for-in": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"class-methods-use-this": "off",
"no-return-assign": "off",
"no-return-await": "off"
}
}