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): scope js and ts shared configs to js and ts files #28381

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Oct 9, 2024

Current Behavior

The flat/javascript and flat/typescript shared configurations from the @nx/eslint-plugin are not scoped to the respective js and ts files. This causes them to apply to files they shouldn't apply to.

Expected Behavior

The flat/javascript and flat/typescript shared configurations from the @nx/eslint-plugin should be scoped to the respective js and ts files.

Related Issue(s)

Fixes #28347

@leosvelperez leosvelperez self-assigned this Oct 9, 2024
@leosvelperez leosvelperez requested a review from a team as a code owner October 9, 2024 14:04
Copy link

vercel bot commented Oct 9, 2024

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 Oct 10, 2024 9:22am

@leosvelperez leosvelperez marked this pull request as draft October 9, 2024 14:56
@leosvelperez leosvelperez changed the title fix(linter): scope ts typescript-eslint rules to the relevant files and provide globals for jest fix(linter): scope js and ts shared configs to js and ts files Oct 10, 2024
@leosvelperez leosvelperez marked this pull request as ready for review October 10, 2024 10:26
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new nx 20 workspace with typescript-eslint 8 is broken out of the box
2 participants