-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
82 lines (82 loc) · 1.9 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"root": true,
"env": {
"browser": true,
"es2022": true,
"node": false
},
"ignorePatterns": ["**/*.min.js"],
"extends": [
"eslint:recommended",
"google",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:markdown/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:jsdoc/recommended",
"plugin:prettier/recommended",
"plugin:vue/vue3-recommended",
"plugin:yaml/recommended",
"@vue/eslint-config-prettier"
],
"plugins": ["@typescript-eslint", "jsdoc", "tsdoc", "html", "yaml", "vue"],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"createDefaultProgram": true
},
"rules": {
"new-cap": "off",
"no-invalid-this": "off",
"no-unused-vars": "warn",
"no-console": "off",
"require-jsdoc": "off",
"valid-jsdoc": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-param": [
"off",
{
"enableRootFixer": false
}
],
"jsdoc/require-returns-description": "off",
"jsdoc/require-returns-type": "off",
"jsdoc/require-returns": "off",
"tsdoc/syntax": "warn",
"jsdoc/tag-lines": "off",
"vue/html-self-closing": [
"error",
{
"html": {
"void": "always"
}
}
],
"vue/multi-word-component-names": "warn"
},
"overrides": [
{
"files": ["*.html"],
"processor": "vue/.vue"
}
],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": ["*.ts", "*.tsx"],
"vue-eslint-parser": ["*.vue"]
},
"import/resolver": {
"typescript": true,
"node": true,
"alias": {
"map": [["@clubcapra", "./src"]],
"extensions": [".js", ".ts", ".jsx", ".tsx", ".vue"]
}
},
"vite": {
"configPath": "./vite.config.ts"
}
}
}