https://knip.dev/features/auto-fix#1-use-a-formatter mentions:
Use a tool like Prettier or Biome if the code needs formatting. Knip removes the minimum amount of code while leaving it in a working state.
If the user has a common formatter such as Prettier configured, it would be nice to apply formatting to those files. That way we can see diffs from knip --fix
having the same formatting as the rest of the files.
Coming over from a Bluesky discussion: https://bsky.app/profile/webpro.nl/post/3lfmy6iwrjs2t
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