-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
61 lines (61 loc) · 1.53 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
60
61
{
"root": true,
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/eslint-config-typescript/recommended",
"plugin:@intlify/vue-i18n/recommended"
],
"env": {
"vue/setup-compiler-macros": true
},
"settings": {
"vue-i18n": {
"localeDir": "./src/locales/*.{json,json5,yaml,yml}",
"messageSyntaxVersion": "^9.0.0"
}
},
"rules": {
"indent": "warn",
"no-console": "off",
"no-debugger": "off",
"object-curly-spacing": "warn",
"quotes": [
"warn",
"single"
],
"semi": [
"warn",
"never"
],
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-ignore": "allow-with-description"
}
],
"@intlify/vue-i18n/key-format-style": [
"warn",
"kebab-case"
],
"@intlify/vue-i18n/no-dynamic-keys": "warn",
"@intlify/vue-i18n/no-unused-keys": [
"warn",
{
"extensions": [
".js",
".vue",
".ts"
]
}
],
"vue/first-attribute-linebreak": "warn",
"vue/html-closing-bracket-newline": "warn",
"vue/html-indent": [
"warn",
4
],
"vue/max-attributes-per-line": "warn",
"vue/multiline-html-element-content-newline": "warn"
}
}