-
-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Labels
discussionDiscussionDiscussion
Description
Discuss anything related to Knip
Is it possible to ignore an unused function export either using a comment like with eslint:
src/index.ts
// ts-unused-exports:disable-next-line
export async function someFunc() {}
// This function is reported as unused
export async function someFunc2() {}Maybe in this way using knip ignore comment:
// knip-unused-exports-function:disable-next-line
export async function someFunc() {}
// This function is reported as unused
export async function someFunc2() {}Or is there a way to specify the config in knip.config.ts.
I just got introduced to the tool and am still noob. Any feedback is appreciated!
Metadata
Metadata
Assignees
Labels
discussionDiscussionDiscussion