-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
executable file
·37 lines (37 loc) · 1.21 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
{
"root": true,
"env": {
"node": true
},
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"plugins": [
"@typescript-eslint",
"import",
"unused-imports"
],
"extends": [
"plugin:vue/vue3-essential",
"plugin:vuetify/recommended",
"eslint:recommended",
"@vue/eslint-config-typescript"
],
"rules": {
"@typescript-eslint/indent": ["error", 4, {"SwitchCase": 1}],
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/quotes": ["error", "single"],
"@typescript-eslint/semi": ["error", "always"],
"import/order": ["warn", {
"alphabetize": {"order": "asc", "caseInsensitive": true},
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
"newlines-between": "always",
"pathGroupsExcludedImportTypes": ["builtin"]
}],
"unused-imports/no-unused-imports": "warn",
"vue/multi-word-component-names": "off",
"vue/no-reserved-component-names": "off",
"no-constant-condition": ["error", {"checkLoops": false}],
"no-unused-vars": "off"
}
}