-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.eslintrc.json
More file actions
41 lines (41 loc) · 983 Bytes
/
Copy path.eslintrc.json
File metadata and controls
41 lines (41 loc) · 983 Bytes
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
{
"extends": [
// "eslint:recommended",
// "plugin:vue/base",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-essential",
"plugin:vue/vue3-strongly-recommended"
// "plugin:vue/vue3-recommended"
],
"rules": {
"vue/multi-word-component-names": 0,
"semi": "off",
"@typescript-eslint/semi": ["warn", "never"],
"vue/component-api-style": ["error", ["script-setup", "composition"]],
"vue/max-attributes-per-line": [
"warn",
{
"singleline": {
"max": 5
},
"multiline": {
"max": 1
}
}
],
"vue/singleline-html-element-content-newline": [
"warn",
{
"ignoreWhenNoAttributes": true,
"ignoreWhenEmpty": true
}
]
},
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": 12,
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"ignorePatterns": ["**/swagger-client/**/*.ts"]
}