Newer
Older
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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/base",
"plugin:vue/vue3-essential",
"plugin:vue/vue3-strongly-recommended",
"plugin:vue/vue3-recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": ["vue", "@typescript-eslint", "prettier"],
"ignorePatterns": ["*.json", "*.html"],
"rules": {
"no-undef": "off",
"vue/no-unused-vars": "warn",
"no-unused-vars": "warn",
"no-empty-function": "warn",
"@typescript-eslint/no-empty-function": "warn",
"prettier/prettier": [
"error",
{
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"arrowParens": "always",
"printWidth": 100,
"bracketSpacing": true,
"vueIndentScriptAndStyle": false,
"endOfLine": "auto"
}
],
"radix": "off",
"camelcase": "off",
"global-require": "off",
"object-curly-newline": "off",
"import/first": "off",
"import/extensions": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"import/named": "off",
"no-return-assign": ["error", "except-parens"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-param-reassign": "off",
"no-confusing-arrow": "off",
"no-unused-expressions": "off",
"no-shadow": "off",
"no-restricted-syntax": "off",
"no-use-before-define": "off",
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": ["error"],
"@typescript-eslint/no-use-before-define": "error",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-expressions": "error",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-ts-comment": ["error", { "ts-ignore": "allow-with-description" }],
"vue/attribute-hyphenation": "off",
"vue/no-v-html": "off",
"vue/max-attributes-per-line": "off",
"vue/no-v-model-argument": "off",
"vue/v-on-event-hyphenation": "off",
"vue/require-default-prop": "off",
"vue/no-multiple-template-root": "off",
"vue/multi-word-component-names": "off"
}
}