eslint-plugin-export-scope
eslint-plugin-export-scope copied to clipboard
False positives for imports from another package
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";