refactor: Integrate the @vben-core/shared package
This commit is contained in:
@@ -44,7 +44,7 @@ export async function vue(): Promise<Linter.FlatConfig[]> {
|
||||
ignore: [],
|
||||
},
|
||||
],
|
||||
'vue/attributes-order': 'error',
|
||||
'vue/attributes-order': 'off',
|
||||
'vue/block-order': [
|
||||
'error',
|
||||
{
|
||||
|
@@ -69,7 +69,7 @@ const customConfig: Linter.FlatConfig[] = [
|
||||
},
|
||||
{
|
||||
// @core/shared内部组件,不能引入@vben/* 或者 @vben-core/* 里面的包
|
||||
files: ['packages/@core/shared/**/**'],
|
||||
files: ['packages/@core/base/**/**'],
|
||||
ignores: restrictedImportIgnores,
|
||||
rules: {
|
||||
'no-restricted-imports': [
|
||||
|
Reference in New Issue
Block a user