Skip to content

fix(angular): do not generate @nx/dependency-checks block in flat root eslint config#29980

Merged
leosvelperez merged 1 commit intomasterfrom
angular/fix-eslint-duplicated-dependency-checks-block
Feb 11, 2025
Merged

fix(angular): do not generate @nx/dependency-checks block in flat root eslint config#29980
leosvelperez merged 1 commit intomasterfrom
angular/fix-eslint-duplicated-dependency-checks-block

Conversation

@leosvelperez
Copy link
Copy Markdown
Member

Current Behavior

Generating a buildable Angular library results in a block for the @nx/dependency-checks being added to the root ESLint Flat Config file every time.

Expected Behavior

Generating a buildable Angular library should not add a block for the @nx/dependency-checks to the root ESLint Flat Config file. The configuration is meant to be added to the project configuration, which it already does.

Related Issue(s)

Fixes #29970

@leosvelperez leosvelperez requested a review from Coly010 February 11, 2025 12:10
@leosvelperez leosvelperez self-assigned this Feb 11, 2025
@leosvelperez leosvelperez requested a review from a team as a code owner February 11, 2025 12:10
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 11, 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) Feb 11, 2025 0:10am

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Feb 11, 2025

View your CI Pipeline Execution ↗ for commit bfafb83.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 27m 54s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 22s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base= --he... ✅ Succeeded 11s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 9s View ↗
nx documentation ✅ Succeeded 1m 12s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-11 12:44:21 UTC

@leosvelperez leosvelperez merged commit db45448 into master Feb 11, 2025
@leosvelperez leosvelperez deleted the angular/fix-eslint-duplicated-dependency-checks-block branch February 11, 2025 16:06
jaysoo pushed a commit that referenced this pull request Feb 12, 2025
…oot eslint config (#29980)

## Current Behavior

Generating a buildable Angular library results in a block for the
`@nx/dependency-checks` being added to the root ESLint Flat Config file
every time.

## Expected Behavior

Generating a buildable Angular library should not add a block for the
`@nx/dependency-checks` to the root ESLint Flat Config file. The
configuration is meant to be added to the project configuration, which
it already does.

## Related Issue(s)

Fixes #29970
@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 Feb 17, 2025
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.

Duplicate eslint config entries in root eslint config file when adding new modules with generator

2 participants