Skip to content

[no-cycle] regression between v4.15.2 and 4.16.0 causing false positives #397

@Zamiell

Description

@Zamiell

After upgrading my version of eslint-plugin-import-x, my project fails lint with a false positive.

Steps to reproduce:

git clone [email protected]:complete-ts/complete.git
cd complete
git checkout 2231fd46e555eb889a5f97c6635ade98383e88ad
npm ci
npx eslint ./scripts/update.ts

If you checkout any previous commit (and reinstall dependencies), then linting this file will pass, proving that it is a regression. But moreover, the error is obviously a false positive, since it seems impossible to have a cycle that comes from an external dependency. (It's a monorepo package, so not technically an external dependency, but it is basically external as far as the "update.ts" file is concerned.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions