-
Notifications
You must be signed in to change notification settings - Fork 20
/
.eslintrc.cjs
34 lines (33 loc) · 886 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
32
33
34
/*
* @Version : v1.00
* @Author : itchaox
* @Date : 2024-07-06 11:28
* @LastAuthor : itchaox
* @LastTime : 2024-07-06 15:07
* @desc :
*/
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
module.exports = {
extends: [
'eslint:recommended',
'plugin:vue/vue3-recommended',
'@electron-toolkit',
'@electron-toolkit/eslint-config-ts/eslint-recommended',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier'
],
rules: {
'vue/require-default-prop': 'off',
'vue/multi-word-component-names': 'off',
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-ignore': 'allow-with-description',
'ts-nocheck': 'allow-with-description'
}
],
'@typescript-eslint/no-unused-vars': 'off'
'@typescript-eslint/no-explicit-any': 'off'
}
}