-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 949 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
{
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended",
"airbnb-base"
],
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-alert": "warn",
"no-console": "off",
"no-cond-assign": "off",
"no-use-before-define": "off",
"no-param-reassign": "off",
"global-require": "off",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": "off",
"quote-props": ["error", "consistent"],
"max-len": ["error", { "code": 500 }],
"import/prefer-default-export": "off",
"import/no-unresolved": [2, { "ignore": ["@", "@qycloud"] }],
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"linebreak-style": [0, "error", "windows"],
"class-methods-use-this": "off",
"prefer-destructuring": ["error", {"object": true, "array": false}]
},
"parserOptions": {
"parser": "babel-eslint"
}
}