You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On commit jswalden/eslint-plugin-n-no-unpublished-bug@efa9c9d with "eslint-plugin-n": "17.15.1", you can run yarn install && yarn build && yarn lint and not get any n/no-unpublished-import errors in src/bar.test.ts or src/nested/foo.test.ts, despite that the rule is enabled (but selectively disabled for those files).
Environment
Node version: v22.12.0
npm version: yarn 4.7.0
ESLint version: 9.22.0
eslint-plugin-n version: 17.16.1
Operating System: Linux
On commit jswalden/eslint-plugin-n-no-unpublished-bug@efa9c9d with
"eslint-plugin-n": "17.15.1"
, you can runyarn install && yarn build && yarn lint
and not get anyn/no-unpublished-import
errors insrc/bar.test.ts
orsrc/nested/foo.test.ts
, despite that the rule is enabled (but selectively disabled for those files).On the next commit jswalden/eslint-plugin-n-no-unpublished-bug@78b5f56 with
"eslint-plugin-n": "17.16.1"
, you can runyarn install && yarn build && yarn lint
and you will get:despite that the enabled rule was selectively disabled for these two files.
(The problem is not fixed in 17.16.2.)
What rule do you want to report?
n/no-unpublished-import
Link to Minimal Reproducible Example
https://github.com/jswalden/eslint-plugin-n-no-unpublished-bug
What did you expect to happen?
The same absence of
n/no-unpublished-import
error as in jswalden/eslint-plugin-n-no-unpublished-bug@efa9c9d using eslint-plugin-node 17.15.1.Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: