jonase / eastwood

Clojure lint tool
1.08k stars 66 forks source link

Exit code is non-zero when no namespaces are linted and caching is enabled #454

Open kjothen opened 2 months ago

kjothen commented 2 months ago

Linting a large monorepo is time-consuming in CI builds. This can be mitigated by caching the .eastwood file between runs on the same branch. However, eastwood returns a non-zero exit code when no namespaces were linted, which is problematic. Rather than ignore the error code and continue the build, it would be better to return a zero error code in this circumstance.