chore: 脚手架
This commit is contained in:
@@ -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: [
|
||||
|
Reference in New Issue
Block a user