-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.cjs
More file actions
41 lines (41 loc) · 965 Bytes
/
.eslintrc.cjs
File metadata and controls
41 lines (41 loc) · 965 Bytes
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
/* eslint-env node */
module.exports = {
"root": true,
"extends": [
"plugin:vue/vue3-strongly-recommended",
"plugin:vue/vue3-recommended",
"plugin:vue/vue3-essential",
"eslint:recommended",
],
"plugins": [
"html",
],
"env": {
"vue/setup-compiler-macros": true,
},
rules: {
"vue/html-indent": ["warn", 4, {}],
"vue/html-closing-bracket-newline": ["warn", {
"singleline": "never",
"multiline": "never",
}],
"vue/html-self-closing": ["warn", {
"html": {
"void": "always",
"normal": "never",
"component": "never",
},
"svg": "always",
"math": "always",
}],
"vue/require-default-prop": "off",
"indent": ["error", 4],
"semi": "error",
"semi-spacing": "error",
"semi-style": "warn",
"comma-dangle": ["error", "always-multiline"],
"comma-spacing": "error",
"comma-style": "warn",
"quotes": ["warn", "double"],
},
};