Skip to content

Add knip to coder/coder and remove unused code #600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brettkolodny opened this issue Apr 29, 2025 · 0 comments · Fixed by coder/coder#17608
Closed

Add knip to coder/coder and remove unused code #600

brettkolodny opened this issue Apr 29, 2025 · 0 comments · Fixed by coder/coder#17608
Assignees

Comments

@brettkolodny
Copy link

Add knip to coder/site and use it to remove all unused code that it reports.

Knip should be configured to:

  • ignore all generated files (**/*Generated.ts)
  • ignore missing/unlisted binaries

Additionally this could be a good opportunity to create consistency between using default/named exports for page components as React's lazy function requires them to be default exported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant