eslint-plugin-export-scope icon indicating copy to clipboard operation
eslint-plugin-export-scope copied to clipboard

False positives for imports from another package

Open sergei-dyshel opened this issue 1 year ago • 11 comments

I have an NPM workspace with multiple packages, say @sergei-dyshel/typescript and @sergei-dyshel/node. I see that ESlint plugin triggers warning:

.../packages/qcfg-js-node/src/lib/cache.ts
  1:10  warning  Cannot import 'jsonStableStringify' outside its export scope  export-scope/no-imports-outside-export-scope

while this symbol is imported from second package:

import { jsonStableStringify } from "@sergei-dyshel/typescript/json";

sergei-dyshel avatar Jun 26 '24 20:06 sergei-dyshel