forked from Bedrock-OSS/bedrock-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
41 lines (41 loc) · 997 Bytes
/
.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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["vue", "@typescript-eslint"],
"rules": {
"indent": ["error", "tab"],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "never"],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"vue/html-indent": ["error", "tab"],
"@typescript-eslint/no-var-requires": "off",
"no-control-regex": "off",
"vue/multi-word-component-names": "off",
"@typescript-eslint/no-unused-vars": "off",
"vue/no-unused-components": "off"
},
"ignorePatterns": [
"!/docs/.vitepress",
"**/dist/**",
"*.json",
"*.css",
"*.html",
"*.d.ts"
]
}