mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(schemas): remove eslint in generate script (#2669)
This commit is contained in:
parent
3ca52420da
commit
14a235eabf
3 changed files with 2 additions and 2 deletions
|
@ -4,4 +4,3 @@ rm -rf lib/
|
|||
pnpm exec tsc -p tsconfig.build.gen.json
|
||||
rm -rf src/db-entries
|
||||
node lib/index.js
|
||||
pnpm exec eslint src/db-entries/** --fix
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
"rules": {
|
||||
"@typescript-eslint/ban-types": "off"
|
||||
},
|
||||
"ignorePatterns": ["src/db-entries/"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
|
|
|
@ -51,7 +51,7 @@ export const generateSchema = ({ name, fields }: TableWithType) => {
|
|||
)},`;
|
||||
}
|
||||
),
|
||||
' });',
|
||||
'});',
|
||||
'',
|
||||
`const guard: Guard<${modelName}> = z.object({`,
|
||||
|
||||
|
|
Loading…
Reference in a new issue