-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
44 lines (44 loc) · 1.12 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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"ecmaVersion": 2020
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended",
"plugin:prettier/recommended",
"prettier",
"prettier/vue",
"prettier/@typescript-eslint"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"linebreak-style": ["error", "unix"],
"no-empty": 1,
"no-undef": 1,
"no-useless-catch": 1,
"no-prototype-builtins": 1,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-inferrable-types": 0,
"vue/singleline-html-element-content-newline": 0,
"vue/no-dupe-keys": 0,
"vue/require-default-prop": 0,
"vue/no-setup-props-destructure": 0,
"vue/require-valid-default-prop": 0
}
}