-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1.03 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
{
"extends": [
"@antfu"
],
"rules": {
"no-console": "warn",
"vue/attribute-hyphenation": ["error", "always", {
"ignore": ["modelValue"]
}],
"vue/v-on-event-hyphenation": ["error", "always", {
"autofix": false,
"ignore": ["update:modelValue"]
}],
"vue/component-tags-order": ["error", {
"order": [ "template", "script", "style" ]
}],
"vue/component-name-in-template-casing": ["error", "kebab-case"],
"vue/custom-event-name-casing": ["error", "kebab-case"],
"vue/block-lang": ["error",
{
"script": {
"lang": "ts"
},
"style": {
"lang": "sass"
}
}
],
"vue/attributes-order": ["error", {
"order": [
"LIST_RENDERING",
"CONDITIONALS",
"DEFINITION",
"RENDER_MODIFIERS",
"TWO_WAY_BINDING",
"OTHER_DIRECTIVES",
"EVENTS",
["UNIQUE", "SLOT"],
"OTHER_ATTR",
"GLOBAL",
"CONTENT"
],
"alphabetical": false
}]
}
}