This linter plugin for SublimeLinter provides an interface to salt-lint, a command-line utility that checks for best practices in SaltStack. It will be used with Salt State files (SLS) files.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before installing this plugin, you must ensure that salt-lint
is installed on your system.
In order for salt-lint
to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.readthedocs.org/en/latest/settings.html
- Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html
- Salt-lint settings: https://github.com/warpnet/salt-lint#command-line-options