Skip to content

fix(linter): scope js and ts shared configs to js and ts files#28381

Merged
JamesHenry merged 1 commit intomasterfrom
eslint/fix-flat-angular-issue
Oct 10, 2024
Merged

fix(linter): scope js and ts shared configs to js and ts files#28381
JamesHenry merged 1 commit intomasterfrom
eslint/fix-flat-angular-issue

Conversation

@leosvelperez
Copy link
Copy Markdown
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
@vercel
Copy link
Copy Markdown

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

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud bot commented Oct 9, 2024

@leosvelperez leosvelperez marked this pull request as draft October 9, 2024 14:56
@leosvelperez leosvelperez force-pushed the eslint/fix-flat-angular-issue branch from c960209 to 54dac49 Compare October 10, 2024 08:58
@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 force-pushed the eslint/fix-flat-angular-issue branch from 54dac49 to 0e51620 Compare October 10, 2024 09:18
@leosvelperez leosvelperez marked this pull request as ready for review October 10, 2024 10:26
@github-actions
Copy link
Copy Markdown
Contributor

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