Skip to content

Commit

Permalink
Up CHANGELOG and tweak README
Browse files Browse the repository at this point in the history
  • Loading branch information
mrseanryan committed Aug 9, 2023
1 parent 4b37c10 commit ea05f02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## [10.0.0] - 9 Aug 2023

### Changed

- support when the import statement contains the '.ts' extension - #281
- the setting excludePathsFromReport now supports regex - #293

## [9.0.5] - 24 Jun 2023

### Added

- Add --ignoreLocallyUsed flag which means that exports which are used in the same file they are defined in won't be reported as unused

## [9.0.4] - 12 Feb 2023
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ts-unused-exports path/to/tsconfig.json [file1.ts ...] [options]
| `allowUnusedEnums` | Allow unused `enum`s. | `--allowUnusedEnums` |
| `allowUnusedTypes` | Allow unused `type` or `interface`. | `--allowUnusedTypes` |
| `excludeDeclarationFiles` | Exclude `.d.ts` files when looking for unused exports. | `--excludeDeclarationFiles` |
| `excludePathsFromReport` | Exclude files from the _output_ that match the given path segments or regex. | `--excludePathsFromReport=math;utils` |
| `excludePathsFromReport` | Exclude files from the _output_ that match the given path segments or regex. The path segments or regexes are separated with a semi-colon. | `--excludePathsFromReport=math;utils` |
| `exitWithCount` | Set the process exit code to be the count of files that have unused exports. | `--exitWithCount` |
| `exitWithUnusedTypesCount` | Set the process exit code to be the total count of unused exported types. | `--exitWithUnusedTypesCount` |
| `findCompletelyUnusedFiles` | Find all *completely* unused files (where *all* exports are unused). | `--findCompletelyUnusedFiles` |
Expand Down

0 comments on commit ea05f02

Please sign in to comment.