-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(linter): migrate projects using dep-check lint rule to ignore build config files #18882
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
77b0688
to
f98deb7
Compare
f98deb7
to
278ba8b
Compare
(o) => !!o.rules?.['@nx/dependency-checks'], | ||
(o) => { | ||
const value = o.rules['@nx/dependency-checks']; | ||
let ruleSeverity: 0 | 1 | 2 | 'error' | 'warn' | 'off'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer correct. The current type doesn't support numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was giving me type errors if I don't include them. I can cast as any as well.
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
This PR adds a migration to add
ignoredFiles
option to@nx/dependency-checks
for projects using vite, esbuild, and rollup. We need to ignore config files such asvite.config.ts
so the packages imported in them are not marked as production dependencies by the lint rule.Current Behavior
Expected Behavior
Related Issue(s)
Fixes #