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
Which is a false positive, because this is a package import from a dependency, it's not referring to a file. However in this case I am using tsconfig paths like this:
What rule do you want to report?
file-extension-in-import
Description
There is a regression in the latest version such that I have code like this:
Now triggers the rule:
Which is a false positive, because this is a package import from a dependency, it's not referring to a file. However in this case I am using tsconfig paths like this:
So I think it is getting confused because "index.ts" is a file. Anyways, it must be related to something in the last update.
Steps to Reproduce
What did you expect to happen?
To have no ESLint warning/error occur.
Environment
Node version: v22.14.0
npm version: 10.9.2
ESLint version: 9.21.0
eslint-plugin-n version: 17.16.1
Operating System: Windows
Participation
The text was updated successfully, but these errors were encountered: