Synthetica9 / nix-linter

Linter for the Nix expression language
BSD 3-Clause "New" or "Revised" License
158 stars 16 forks source link

Exits with code 0 after parse error #39

Open cdfa opened 4 years ago

cdfa commented 4 years ago

Hi, I'm getting a 0 exit code when trying to lint files with parse errors. Failing to parse seems like a failure to me, so I think it should exit with something else.

I'm on commit 01ed700247e159db0ed8c5e2cff1fed9af582946

ghostbuster91 commented 2 years ago

:+1: I am using nix-linter as a part of CI pipeline for my home-manager configuration and I would rather expect it to fail if there is a parsing error