0.0.11 • Published 3 years ago

ts-no-unused v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago