-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
38 lines (38 loc) · 1014 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
{
"root": true,
"parserOptions": {
"parser": "babel-eslint"
},
"env": {
"browser": true,
"node": true,
"es6": true
},
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
"extends": ["plugin:vue/essential", "standard"],
// required to lint *.vue files
"plugins": ["import", "vue", "html"],
// add your custom rules here
"rules": {
"camelcase": [0, { "properties": "never" }],
"no-new": 0,
"no-new-func": 0,
"no-param-reassign": 0,
"generator-star-spacing": "off",
"no-tabs": "off",
"vue/no-parsing-error": [2, { "x-invalid-end-tag": false }],
"space-before-function-paren": 0,
"object-curly-spacing": 0,
"semi": ["error", "always"],
"no-console": 0,
"no-debugger": 0,
"no-useless-escape": "off",
"no-return-assign": "off",
"no-proto": "off",
"prefer-promise-reject-errors": "off",
"import/no-duplicates": "off"
},
"globals": {
"$ENV": true
}
}