It's currently possible to combine JSDoc tags with --tags="-knipignore"
on the CLI to specify special handling for certain exports, but specifying "tags": ["-knipignore"],
in the config file does not effect the same change. It's not documented in the Configuration docs so I don't believe it's a bug, but generally I expect parity between the CLI and the config file for a given tool.
Can we please add configurability for tags via the knip.json
file?
(Currently I'm trying to advocate for Knip on my team but there are a select few exports that are controversial to delete, so I'm compromising with JSDoc tags for those exports)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too