Skip to content

feat(generators): ORM-891 add eslint ignore comment to all generated JS/TS files - #26960

Merged
FGoessler merged 1 commit into
mainfrom
feat/ORM-891-eslint-ignore-header
Apr 24, 2025
Merged

FGoessler merged 1 commit into
mainfrom
feat/ORM-891-eslint-ignore-header

Conversation

@FGoessler

@FGoessler FGoessler commented Apr 24, 2025 •

Copy link
Copy Markdown
Contributor

Generated code should not be picked up by the user's linter as we cannot guarantee conformance to their specific settings. Users can work around this already by excluding the generated directory in their lint settings but we want to make it easy for them. ;)

Fixes ORM-891

@github-actions

github-actions Bot commented Apr 24, 2025 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
packages/client/runtime/library.js 400.77 KB (0%)
packages/client/runtime/library.d.ts 81 B (0%)
packages/client/runtime/binary.js 1.27 MB (0%)
packages/client/runtime/binary.d.ts 26 B (0%)
packages/client/runtime/edge.js 335.6 KB (0%)
packages/client/runtime/edge-esm.js 334.25 KB (0%)
packages/client/runtime/wasm.js 281.22 KB (+0.01% 🔺)
packages/client/runtime/index-browser.js 67.74 KB (0%)
packages/client/runtime/index-browser.d.ts 89 B (0%)
packages/cli/build/index.js 2.98 MB (+0.03% 🔺)
packages/client/prisma-client-0.0.0.tgz 5.88 MB (+0.01% 🔺)
packages/cli/prisma-0.0.0.tgz 6.19 MB (+0.01% 🔺)
packages/bundle-size/da-workers-libsql/output.tgz 945.85 KB (0%)
packages/bundle-size/da-workers-neon/output.tgz 1022.45 KB (0%)
packages/bundle-size/da-workers-pg/output.tgz 1 MB (0%)
packages/bundle-size/da-workers-pg-worker/output.tgz 1012.33 KB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 963.76 KB (0%)
packages/bundle-size/da-workers-d1/output.tgz 1.3 MB (0%)

@FGoessler
FGoessler force-pushed the feat/ORM-891-eslint-ignore-header branch from 9c1c63a to 60f3ba2 Compare April 24, 2025 10:08
@FGoessler FGoessler added this to the 6.7.0 milestone Apr 24, 2025
@FGoessler
FGoessler marked this pull request as ready for review April 24, 2025 10:37
@viktor-ferenczi
viktor-ferenczi self-requested a review April 24, 2025 11:00
@FGoessler
FGoessler merged commit 2036e6d into main Apr 24, 2025
@FGoessler
FGoessler deleted the feat/ORM-891-eslint-ignore-header branch April 24, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants