Skip to content
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

fix(linter): install @eslint/eslintrc package as necessary #29933

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Feb 7, 2025

When flat compat is necessary, we don't ensure that @eslint/eslintrc is installed, even though we import it. Depending on the package manager and hoisting, it may still work, but as we see with pnpm v10, it is not working without an explicit dependency in package.json.

Current Behavior

Some app generators are broken is we use eslint compat.

Expected Behavior

App generators should work.

Related Issue(s)

Fixes #29845

@jaysoo jaysoo requested a review from a team as a code owner February 7, 2025 21:09
@jaysoo jaysoo requested a review from JamesHenry February 7, 2025 21:09
Copy link

vercel bot commented Feb 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Feb 10, 2025 2:12pm

Copy link

nx-cloud bot commented Feb 7, 2025

View your CI Pipeline Execution ↗ for commit 43ccbe7.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 32m 45s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 23s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base= --he... ✅ Succeeded 10s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 10s View ↗
nx documentation ✅ Succeeded 2m 51s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-10 14:50:46 UTC

@jaysoo jaysoo merged commit d5b8908 into master Feb 10, 2025
12 checks passed
@jaysoo jaysoo deleted the issue/29845 branch February 10, 2025 15:06
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.

new nx create missing @eslint/eslintrc dependency
3 participants