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

Lookup for configuration in parent folder. #305

Closed dgo- closed 8 months ago

dgo- commented 1 year ago

This change will lookup for a .salt-lint configuration in the parent folder if no configuration is present in the current folder. It will stop going to upper level if reach the git repository root. Which is useful if you have sub formulas, but only have the .salt-lint config in the repository root.

This change is inspired by ansible-lint.