feat: use simpler nitro instead of nestjs to implement mock service

This commit is contained in:
vben
2024-07-20 08:31:05 +08:00
parent 9ec91ac16d
commit 9987451647
122 changed files with 2556 additions and 2967 deletions

View File

@@ -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"
}
}

View File

@@ -9,6 +9,8 @@ export async function ignores(): Promise<Linter.FlatConfig[]> {
'**/dist-*',
'**/*-dist',
'**/.husky',
'**/.nitro',
'**/.output',
'**/Dockerfile',
'**/package-lock.json',
'**/yarn.lock',

View File

@@ -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 };