forked from mysticatea/eslint-plugin-node
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
Environment
Node version: 20.18.0
npm version: 10.8.2
ESLint version: 8
eslint-plugin-n version: 17.3.1
Operating System: MacOS
What rule do you want to report?
no-missing-import
Link to Minimal Reproducible Example
What did you expect to happen?
The index.js is the default when importing a folder
Participation
- I am willing to submit a pull request for this issue.
Additional comments
import './folder/index';
import './folder';
The 2nd import shows the error, it is doing the same as the 1st