-
Notifications
You must be signed in to change notification settings - Fork 26
/
.eslintrc
44 lines (44 loc) · 1.07 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
{
"root": true,
"parser": "vue-eslint-parser",
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/recommended",
"plugin:prettier-vue/recommended",
"prettier"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2022,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"simple-import-sort",
"unused-imports",
"jest"
],
"rules": {
"arrow-body-style": "off",
"prefer-arrow-callback": "off",
"no-console": "warn",
"no-debugger": "warn",
"no-undef": "off",
"eqeqeq": "error",
"prefer-const": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"simple-import-sort/imports": "error",
"unused-imports/no-unused-imports-ts": "error",
"vue/require-default-prop": "off",
"vue/no-multiple-template-root": "off",
"vue/multi-word-component-names": "off",
"vue/no-v-model-argument": "off",
"vue/attribute-hyphenation": "off"
}
}