-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
37 lines (37 loc) · 921 Bytes
/
.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
{
"root": true,
"env": {
"browser": true,
"es2021": true,
"node": true,
"vue/setup-compiler-macros": true,
},
"extends": [
"plugin:vue/vue3-recommended",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
],
"parserOptions": {
"ecmaVersion": 2021,
"project": "./tsconfig.json",
},
"plugins": ["@typescript-eslint", "simple-import-sort"],
"rules": {
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"@typescript-eslint/ban-ts-comment": [
"error",
{ "ts-ignore": "allow-with-description" },
],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/consistent-type-exports": "error",
"@typescript-eslint/consistent-type-imports": "error",
},
"ignorePatterns": [
"node_modules/",
"dist/",
"prettier.config.js",
"vite.config.ts",
],
}