forked from newcat/baklavajs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
41 lines (41 loc) · 1.54 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
38
39
40
41
{
"root": true,
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"project": [
"./tsconfig.eslint.json",
"./packages/*/tsconfig.json",
"./packages/renderer-vue/playground/tsconfig.json"
],
"extraFileExtensions": [".vue"]
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-for-in-array": "error",
"no-implied-eval": "off",
"@typescript-eslint/no-implied-eval": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"require-await": "off",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/unbound-method": "error",
"vue/html-indent": ["warn", 4],
"vue/no-mutating-props": "off",
"vue/max-attributes-per-line": "off",
"vue/html-self-closing": ["warn", { "html": { "void": "any" } }],
"vue/multi-word-component-names": "off",
"vue/singleline-html-element-content-newline": "off"
}
}