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
| module.exports = {
| root: true,
| env: {
| browser: true,
| node: true
| },
| extends: [
| 'plugin:vue/essential',
| '@vue/standard',
| '@vue/typescript/recommended',
| '@vue/prettier',
| '@vue/prettier/@typescript-eslint',
| ],
| parserOptions: {
| ecmaVersion: 2020
| },
| globals: {
| _czc: true
| },
| rules: {
| 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
| 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
| 'camelcase': 'off',
| 'comma-dangle': 'off',
| '@typescript-eslint/no-explicit-any': 'off',
| '@typescript-eslint/camelcase': 'off',
| '@typescript-eslint/no-empty-function': 'off',
| 'lines-between-class-members': 'off',
| '@typescript-eslint/no-this-alias': [
| "error",
| {
| "allowDestructuring": true,
| "allowedNames": ["that", "self"]
| }
| ]
| },
| }
|
|