-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
49 lines (47 loc) · 1.14 KB
/
.eslintrc
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
{
"extends": [
"plugin:vue/vue3-recommended",
"plugin:vitest/recommended"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"globals": {
"process": true,
"defineProps": "readonly",
"defineEmits": "readonly"
},
"rules": {
// "semi": "off",
"sort-imports": "off",
"vue/no-restricted-block": "off",
// To understand how to handle the cases better
"import/named": "off",
"@typescript-eslint/no-empty-function": "off",
"import/export": "off",
// Shouldn't be off, but for the moment I want to just to align
// the eslint config, fix this ASAP
"vue/valid-define-props": "off",
"vue/no-export-in-script-setup": "off",
"vue/multi-word-component-names": "off",
"indent": ["error", "tab", { "SwitchCase": 1 }],
"vue/html-indent": [
"error",
"tab",
{
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0,
"alignAttributesVertically": true,
"ignores": []
}
],
"vue/require-default-prop": "off",
"vue/no-mutating-props": ["error", {
"shallowOnly": true
}],
// Remove jest in @thorn/eslint-config-base
"jest/no-deprecated-functions": "off"
}
}