Currently, unexported symbols can bypass reporting via use of the JSDoc tags as described here.
However, I don't believe there is currently a way to bypass reporting of unused files.
This feature request is to provide the ability to do so. The use case is a scenario where a new file has been added in preparation for it to be used in a subsequent commit. While that subsequent commit is pending, the file is currently unused and shows on knip's report.
Update the ignore configuration
This would work, but it wouldn't be something that I think most developers in a large repository should be modifying. It would be a risky thing to encourage, and would also make the ignores even harder to find than with a tag or directive.
Exclude unused files from report
This would also work, but would eliminate one of the benefits of knip in finding unused files. In this case, the file is only unused temporarily but hiding all unused files from the report would cause missed items.
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