salt-lint
« Back to VersTracker
Description:
Check for best practices in SaltStack
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: saltstack linting devops infrastructure-as-code ci-cd
Install: brew install salt-lint
About:
SaltLint is a command-line tool that analyzes SaltStack state files and formulas to enforce best practices. It checks for common issues like deprecated syntax, improper formatting, and security vulnerabilities. This tool helps teams maintain consistent, high-quality infrastructure-as-code across their environments.
Key Features:
  • Automated linting of SaltStack state files (.sls)
  • Configurable rule sets with sensible defaults
  • Integration with CI/CD pipelines
  • Clear error reporting with file and line numbers
  • Support for custom rules
Use Cases:
  • Pre-commit hooks to catch issues before code review
  • CI/CD pipeline integration for automated quality checks
  • Codebase audits for migrating to newer SaltStack versions
  • Enforcing team coding standards across projects
Alternatives:
  • salt – Built-in salt command has limited linting capabilities compared to dedicated salt-lint tool
  • yamllint – General YAML linter that doesn't understand SaltStack-specific syntax and conventions
Version History
Detected Version Rev Change Commit
Sep 16, 2025 1:00am 0 VERSION_BUMP 6337a7b6
Sep 14, 2024 4:24pm 0 VERSION_BUMP 97ae6919