sindresorhus/eslint-plugin-unicorn

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.

Ref https://github.com/xojs/xo/issues/386


@issuehunt has funded $40.00 to this issue.


posted by IssueHuntBot almost 6 years ago

@sindresorhus has rewarded $36.00 to @maximelkin. See it on IssueHunt

  • :moneybag: Total deposit: $40.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $4.00
posted by issuehunt-app[bot] over 5 years ago

Fund this Issue

$40.00
Rewarded

Rewarded pull request

Recent activities