chore: 脚手架

This commit is contained in:
dap
2024-08-07 08:57:56 +08:00
parent 4bd4f7490b
commit c31259598b
83 changed files with 2127 additions and 225 deletions

View File

@@ -19,6 +19,10 @@ const customConfig: Linter.Config[] = [
files: ['apps/**/**'],
ignores: restrictedImportIgnores,
rules: {
// 允许使用void类型
'@typescript-eslint/no-invalid-void-type': 'off',
// 关闭 不允许使用console
'no-console': 'off',
'no-restricted-imports': [
'error',
{
@@ -46,6 +50,7 @@ const customConfig: Linter.Config[] = [
],
},
],
'regexp/no-unused-capturing-group': 'off',
},
},
{
@@ -86,6 +91,13 @@ const customConfig: Linter.Config[] = [
],
},
},
{
files: ['packages/effects/access/**/**'],
ignores: restrictedImportIgnores,
rules: {
'regexp/no-unused-capturing-group': 'off',
},
},
{
// 不能引入@vben/*里面的包
files: [