-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
56 lines (48 loc) · 1.33 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
50
51
52
53
54
55
56
{
"root": true,
"env": {
"es2021": true,
"browser": true,
"vue/setup-compiler-macros": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"ecmaVersion": "latest"
},
"rules": {
"indent": ["error", 2],
"semi": ["error", "always"],
"quotes": ["error", "double"],
"eol-last": ["error", "always"],
"no-trailing-spaces": "error",
"@typescript-eslint/no-explicit-any": "off",
"comma-dangle": ["error", "always-multiline"],
"vue/comma-dangle": ["error", "always-multiline"],
"eqeqeq": ["error", "always"],
"vue/eqeqeq": ["error", "always"],
"prefer-template": "error",
"vue/prefer-template": "error",
"vue/max-attributes-per-line": ["error", { "singleline": 2 }],
"vue/multi-word-component-names": "off"
},
"overrides": [
{
"files": ["*.md"],
"parser": "eslint-plugin-markdownlint/parser",
"extends": ["plugin:markdownlint/recommended"],
"rules": {
"markdownlint/md013": "off",
// This does not play well with Frontmatter
"markdownlint/md025": "off",
"markdownlint/md029": "off",
"markdownlint/md033": "off"
}
}
]
}