-
Notifications
You must be signed in to change notification settings - Fork 36
/
.eslintrc
executable file
·38 lines (38 loc) · 1.01 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
{
"root": true,
"parser": "vue-eslint-parser",
"parserOptions": { "parser": "@typescript-eslint/parser" },
"env": { "es6": true },
"ignorePatterns": ["node_modules", "dist", "coverage"],
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript"
],
"globals": {
"BigInt": true,
"console": true,
"WebAssembly": true,
"chrome": true,
"process": true
},
"settings": {
"import/resolver": {
"typescript": true,
"node": true
}
},
"rules": {
"vue/component-api-style": ["warn", ["script-setup", "composition"]],
"no-console": "error",
"@typescript-eslint/explicit-module-boundary-types": "off",
"sort-imports": ["warn", { "ignoreDeclarationSort": true, "ignoreCase": true }],
"import/order": "warn",
"import/default": "off",
"import/no-named-as-default-member": "off",
"import/no-unresolved": "off"
}
}