eslint-plugin-import icon indicating copy to clipboard operation
eslint-plugin-import copied to clipboard

extensions – incorrectly flagging internal package imports

Open TehShrike opened this issue 5 years ago • 1 comments

With an eslintrc containing this rule configuration: 'import/extensions': [ 1, 'ignorePackages' ]

a file containing an internal package import:

import dep from '#dep'

is incorrectly being flagged as a violation of the rule.

warning Missing file extension for "#dep" import/extensions

TehShrike avatar Aug 19 '20 20:08 TehShrike

Indeed; these aren't supported until the resolve package supports them.

ljharb avatar Oct 03 '20 06:10 ljharb