no-export-duplications

Find duplications of named exports inside JavaScript project

Downloads
20
Stars
2
Committers
1

No export duplications

Find duplications of named exports inside JavaScript project.

Installation

npm i -g @orisomething/no-export-duplications

Usuage

After installation, when you inside a JavaScript / TypeScript project, just run:

no-export-duplications

You can add path as an argument when you want to check duplications in another project.

Notes

  • Support JavaScript files including Flow (Current compiler @babel/[email protected])
  • Support TypeScript files (Current complier is [email protected])
  • List of globs that always ignored:
    • .test.{js,mjs,ts,tsx}
    • .spec.{js,mjs,ts,tsx}
    • .d.ts
    • .flow
    • Everything in folders:
      • node_modules
      • flow-typed
      • dist
      • build