-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.cjs
47 lines (47 loc) · 1.15 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
module.exports = {
root: true,
env: {
node: true,
},
plugins: ["@typescript-eslint", "vue", "import"],
extends: [
"plugin:vue/vue3-recommended",
"eslint:recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/eslint-config-typescript/recommended",
"plugin:storybook/recommended",
],
parser: "vue-eslint-parser",
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts"],
},
"import/resolver": {
typescript: {
project: [
"cli/*/tsconfig.json",
"framework/tsconfig.json",
"apps/*/tsconfig.json",
"sample/*/tsconfig.json",
"configs/*/tsconfig.json",
],
},
},
},
rules: {
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"vue/multi-word-component-names": "off",
"vue/require-default-prop": "off",
"vue/no-v-html": "off",
"vue/no-template-shadow": "off",
"vue/one-component-per-file": "off",
},
};