-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
My IDE likes to add /index
to the import path when I specify some folder path with index.js
file in it. For example:
- module
- index.js
- file.js
// file.js
import module from './module'
and it becomes
// file.js
import module from './module/index'
Can we have a rule which disallows explicit specification of the index
file?