@orisomething/no-export-duplications

0.0.8 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @orisomething/no-export-duplications

Weekly Downloads

0

Version

0.0.8

License

MIT

Unpacked Size

26.5 kB

Total Files

27

Last publish

Collaborators

  • orisomething