salt-lint

Linter for SaltStack files to enforce best practices

brewmacoslinux
Try with needOr install directly
Source

About

Check for best practices in SaltStack

Commands

salt-lint

Examples

Lint a specific Salt state file$ salt-lint /path/to/state.sls
Lint all Salt files in a directory recursively$ salt-lint /path/to/salt/states/
Lint with custom configuration file$ salt-lint -c .salt-lint.yml /path/to/state.sls