warpnet / salt-lint

A command-line utility that checks for best practices in SaltStack.
https://salt-lint.readthedocs.io/en/latest/
MIT License
152 stars 39 forks source link

make VARY_LOW and LOW non fatal #323

Open jacekjaros opened 6 months ago

jacekjaros commented 6 months ago

Is your feature request related to a problem? Please describe. I want to use salt-lint to check salt formulas syntax before deployment to salt servers. My intention here is to find only fatal errors and not to force 100% syntax to be fixed. Issue is here that salt-lint is return the same exit code regardless if problem is LOW or CRITICAL.

Describe the solution you'd like User should have ability to make selected severity non-fatal.

Describe alternatives you've considered There should be cli parameter like --non-fatal taking list on severitys which not cause non-zero exit code.