mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 04:21:11 +08:00
feat: use simpler nitro instead of nestjs to implement mock service
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
"@commitlint/config-conventional": "^19.2.2",
|
||||
"@vben/node-utils": "workspace:*",
|
||||
"commitlint-plugin-function-rules": "^4.0.0",
|
||||
"cz-git": "^1.9.3",
|
||||
"czg": "^1.9.3"
|
||||
"cz-git": "^1.9.4",
|
||||
"czg": "^1.9.4"
|
||||
}
|
||||
}
|
||||
|
@@ -9,6 +9,8 @@ export async function ignores(): Promise<Linter.FlatConfig[]> {
|
||||
'**/dist-*',
|
||||
'**/*-dist',
|
||||
'**/.husky',
|
||||
'**/.nitro',
|
||||
'**/.output',
|
||||
'**/Dockerfile',
|
||||
'**/package-lock.json',
|
||||
'**/yarn.lock',
|
||||
|
@@ -121,10 +121,17 @@ const customConfig: Linter.FlatConfig[] = [
|
||||
files: ['apps/backend-mock/**/**'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-extraneous-class': 'off',
|
||||
'n/prefer-global/buffer': 'off',
|
||||
'no-console': 'off',
|
||||
'unicorn/prefer-module': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['internal/**/**'],
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export { customConfig };
|
||||
|
Reference in New Issue
Block a user