0.0.11 • Published 2 years ago

ts-no-unused v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ts-no-unused

Auto remove unused-locals and parameters detected by typescript.

motivation

If you use typescript with noUnusedLocals or noUnusedParameters option, compiler raises error if unused local or parameter detected.

This cli provide a way to remove unused local and parameter automatically.

install

npm install -g ts-no-unused

usage

With no option, cli detect and fix under current project files. (tsconfig.json must be under current path.)

ts-no-unused

Can specify tsconfig.json file via --configPath option.

ts-no-unused --configPath ./relativeProject/tsconfig.json

Can filter target files via glob pattern.

ts-no-unused --target './src/nest/*.ts'
0.0.11

2 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago