forked from c2corg/c2c_ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
41 lines (41 loc) · 1 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
{
"root": true,
"env": {
"node": true
},
"extends": ["plugin:vue/recommended", "plugin:import/errors", "plugin:import/warnings", "@vue/prettier"],
"rules": {
"no-unused-vars": "warn",
"no-console": "warn",
"vue/no-v-html": "error",
"vue/order-in-components": "warn",
"vue/require-prop-types": "warn",
"vue/require-default-prop": "warn",
"vue/attributes-order": "off",
"vue/no-mutating-props": "off",
"vue/no-use-v-if-with-v-for": "error",
"vue/prop-name-casing": ["error", "camelCase"],
"eqeqeq": "warn",
"camelcase": "off",
"import/order": [
"error",
{ "newlines-between": "always", "alphabetize": { "order": "asc", "caseInsensitive": false } }
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".vue"]
},
"custom-alias": {
"alias": {
"@": "./src"
},
"extensions": [".js", ".vue"]
}
}
},
"parserOptions": {
"parser": "babel-eslint"
}
}