sindresorhus/eslint-plugin-unicorn


The issue has been solved
import-index: Option to ignore import/export statements #307
coreyfarrell posted onGitHub
unicorn/import-index needs an option to be able to ignore ES import/export statements. node.js native ES module implemetation will not support import something from './foldername'
, it will instead require that we directly specify ./foldername/index.js
. The only exception is bare import of a node_modules package.
Posting here as I'm not very good with eslint plugins. If nobody picks this up I'll give it a try when I get a chance.