Skip to content

False positives for imports from another package #9

@sergei-dyshel

Description

@sergei-dyshel

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";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions