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

@nx/dependency-checks does not recognize dependency aliases same as #23469 #30158

Open
1 of 4 tasks
tnrich opened this issue Feb 24, 2025 · 0 comments
Open
1 of 4 tasks
Assignees
Labels
scope: linter Issues related to Eslint support in Nx type: bug

Comments

@tnrich
Copy link

tnrich commented Feb 24, 2025

This is the same ticket as #23469 but that one got closed prematurely..

Current Behavior

Current Behavior
The @nx/dependency-checks eslint rule does not recognize dependency aliases.

https://docs.npmjs.com/cli/v8/using-npm/package-spec#aliases

Image

Expected Behavior

The @nx/dependency-checks eslint rule should recognize dependency aliases.

GitHub Repo

No response

Steps to Reproduce

add an npm alias to a repo with the dep checks

Nx Report

Node   : 20.13.1
OS     : linux-x64
pnpm   : 8.15.7

nx (global)        : 19.0.2
nx                 : 19.0.0-rc.1
@nx/js             : 0.0.1
@nx/jest           : 0.0.1
@nx/eslint         : 0.0.1
@nx/workspace      : 0.0.1
@nx/angular        : 0.0.1
@nx/cypress        : 0.0.1
@nx/detox          : 0.0.1
@nx/devkit         : 0.0.1
@nx/esbuild        : 19.0.0-rc.1
@nx/eslint-plugin  : 19.0.0-rc.1
@nx/expo           : 0.0.1
@nx/express        : 0.0.1
@nx/gradle         : 0.0.1
@nx/nest           : 0.0.1
@nx/next           : 0.0.1
@nx/node           : 0.0.1
@nx/nuxt           : 0.0.1
@nx/playwright     : 19.0.0-rc.1
@nx/plugin         : 0.0.1
@nx/react          : 0.0.1
@nx/react-native   : 0.0.1
@nx/rollup         : 0.0.1
@nx/remix          : 0.0.1
@nx/storybook      : 0.0.1
@nrwl/tao          : 0.0.1
@nx/vite           : 0.0.1
@nx/vue            : 0.0.1
@nx/web            : 0.0.1
@nx/webpack        : 0.0.1
typescript         : 5.4.2
---------------------------------------
Registered Plugins:
@monodon/rust
@nx/playwright/plugin
@nx/eslint/plugin
@nx/jest/plugin
@nx/webpack/plugin
@nx/jest/plugin
@nx/jest/plugin
---------------------------------------
Community plugins:
@monodon/rust      : 1.3.3
@ngrx/effects      : 17.0.1
@ngrx/router-store : 17.0.1
@ngrx/store        : 17.0.1
---------------------------------------
Local workspace plugins:
         @nx/workspace-plugin
         @nx/react-native
         @nx/playwright
         @nx/storybook
         @nx/workspace
         @nx/angular
         @nx/cypress
         @nx/esbuild
         @nx/express
         @nx/webpack
         @nx/eslint
         @nx/gradle
         @nx/plugin
         @nx/rollup
         @nx/detox
         @nx/react
         @nx/remix
         @nx/expo
         @nx/jest
         @nx/nest
         @nx/next
         @nx/node
         @nx/nuxt
         @nx/vite
         @nx/vue
         @nx/web
         @nx/js
         nx
---------------------------------------

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@FrozenPandaz FrozenPandaz added the scope: linter Issues related to Eslint support in Nx label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: linter Issues related to Eslint support in Nx type: bug
Projects
None yet
Development

No branches or pull requests

3 participants