-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
56 lines (56 loc) · 1.59 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
{
"root": true,
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:tailwindcss/recommended",
"plugin:vue/vue3-essential",
"@vue/typescript/recommended",
"@vue/eslint-config-typescript",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
{
"files": ["*.vue"],
"parser": "vue-eslint-parser"
}
],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"parser": "@typescript-eslint/parser"
},
"plugins": [
"vue",
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/consistent-type-imports": "warn",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "warn",
"vue/multi-word-component-names": "off",
"vue/max-attributes-per-line": "off",
"vue/first-attribute-linebreak": "off",
"vue/html-indent": ["error", "tab", {
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0,
"alignAttributesVertically": true,
"ignores": []
}],
"vue/html-closing-bracket-newline": ["warn", {
"singleline": "never",
"multiline": "never"
}],
"vue/v-on-event-hyphenation": "off",
"vue/attribute-hyphenation": "off",
"tailwindcss/no-custom-classname": "off",
"tailwindcss/classnames-order": "off"
}
}