-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.json
44 lines (44 loc) · 1.06 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
42
43
44
{
"root": true,
"env": {
"browser": true,
"es2021": true
},
"parser": "vue-eslint-parser",
"extends": [
"standard-with-typescript",
"plugin:vue/vue3-essential",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"extraFileExtensions": [".vue"],
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["vue", "@typescript-eslint"],
"rules": {
"vue/multi-word-component-names": 0,
"no-undef": 0,
"@typescript-eslint/promise-function-async": 0,
"@typescript-eslint/no-misused-promises": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/consistent-type-definitions": 0,
"@typescript-eslint/consistent-type-imports": [
1,
{
"prefer": "type-imports"
}
],
"@typescript-eslint/no-unused-vars": [
2,
{
"argsIgnorePattern": "^_"
}
]
}
}