zigself
zigself copied to clipboard
Implement zigimports as pre-commit check + CI lint
Followup to #30.
The zigimports tool automatically removes unused imports and constant declarations from files. Rather than having to run this manually, make this a CI check to enforce it, and add a pre-commit hook to do it automatically.