feature-sliced / steiger

Universal file structure and project architecture linter
https://www.npmjs.com/package/steiger
MIT License
48 stars 3 forks source link

Exit with 1 exit code when there are reported errors #56

Closed daniilsapa closed 1 month ago

daniilsapa commented 1 month ago

I tried to integrate Steiger into a pre-commit validation workflow and I failed. The reason is that it always exits with 0 code even if there are some errors. 0 means success, so it does not fail the pre-commit check when errors are found.