This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
59 lines (59 loc) · 1.61 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"@ryinner/eslint-config-js",
"plugin:vue/vue3-recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"parser": "@typescript-eslint/parser"
},
"plugins": [
"vue",
"@typescript-eslint"
],
"rules": {
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"@typescript-eslint/key-spacing": "warn",
"@typescript-eslint/indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"@typescript-eslint/semi": ["error", "always"],
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}],
"@typescript-eslint/consistent-type-assertions": ["error", {"assertionStyle": "angle-bracket"}],
"vue/component-api-style": ["error", ["script-setup", "composition"]],
"vue/v-bind-style": ["error", "shorthand"],
"vue/v-on-style": ["error", "shorthand"],
"vue/html-self-closing": ["warn", {"html": {"void": "always"}}],
"vue/html-indent": ["error", 4]
}
}