@orisomething/no-export-duplications

Find duplications of named exports inside JavaScript project.

Stats

StarsIssuesVersionUpdatedCreatedSize
@orisomething/no-export-duplications
270.0.810 months ago4 years agoMinified + gzip package size for @orisomething/no-export-duplications in KB

Readme

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/parser@7.1.6)
  • Support TypeScript files (Current complier is typescript@3.1.6)
  • 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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.