-
Notifications
You must be signed in to change notification settings - Fork 18
/
.eslintrc.cjs
31 lines (31 loc) · 728 Bytes
/
.eslintrc.cjs
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
module.exports = {
env: {
node: true,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended",
"@vue/typescript/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"@vue/prettier",
"@vue/eslint-config-prettier",
"@vue/eslint-config-typescript",
"prettier",
],
rules: {
"no-console": "error",
"no-debugger": "error",
"no-restricted-imports": ["error", { patterns: ["../"] }],
"no-irregular-whitespace": "off",
"vue/multi-word-component-names": "off",
"import/no-cycle": 1,
},
settings: {
"import/resolver": {
typescript: true,
},
},
};