Skip to content
Sean Ryan edited this page Nov 4, 2019 · 39 revisions

Welcome to the ts-unused-exports wiki!

Contributions are welcome - for inspiration, see our open issues or our roadmap below.

Roadmap:

  • merge the 4 PRs that were used in the fork ts-unused-exports-updated

  • add release doc CHANGELOG.md

  • release (minor patch?)

  • up the TypeScript version to 3.x (recommend to have a separate release, in case this causes issues for older projects)

  • release (major)

  • Make exit code follow eslint convention #60

  • allow parse of d.ts files #59

CI build:

  • basic Travis CI
  • Travis CI publishing to npm
  • Code coverage
  • badges to match

Tests:

  • move tests to cucumber
  • add more unit tests (try to cover any false positives)
  • add itests with tsx files - see #27
  • add more itests (add more examples)
  • test and iteratively fix as needed #41 (false positives)

Tools:

  • fix linting
  • replace tslint with eslint-typescript
  • add prettier
  • script npm publish with changelog update
  • lint-staged

Issues:

  • what issues are the most important?

  • [fixed?] #34 - Maximum call stack size exceeded

  • [fixed?] #29 - Cannot find .d.ts file in subdirectory

  • #31 - Support exports destructured from array

  • fix import paths: #26, #37 - tsconfig aliases

  • test/fix barreling (index.ts files)

  • #13 Support dynamic imports

  • #30 Add option to ignore exported names used only in same file

Spikes:

  • #19 Spike detecting unused exports via eslint-typescript
Clone this wiki locally