You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
Suggest an idea for Knip
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)
The text was updated successfully, but these errors were encountered: