astro / deadnix

Scan Nix files for dead code
GNU General Public License v3.0
461 stars 15 forks source link

Exit with nonzero if dead code is found #8

Closed ilkecan closed 2 years ago

ilkecan commented 2 years ago

This is useful for pipelines or pre-commit. It can be enabled with a flag if it is something not preferred by default.

astro commented 2 years ago

Thanks for the idea. Released in deadnix 0.1.3.

Use with: deadnix -f