Allow marking a whole directory of exports as @internal
via knip config file
#553
Labels
feature request
Feature request
@internal
via knip config file
#553
Context
In short:
--production
mode:As discussed previously on discord (link to original message, link to subsequent thread), the above requirements can be met by the
@internal
tag. However, given that:I would much prefer to mark the whole directory as being "internal" rather than tagging each export individually in the code.
Proposal
Similar to how the knip config file allows me to ignore files, I would like to mark files/directories as internal via the config file. E.g.
This would be equivalent to adding the
@internal
tag to everything that's exported from that module or directory.The text was updated successfully, but these errors were encountered: