{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"},{"label":"Bug Tracking","url":"https://skillfed.io/packages/category/software-development-bug-tracking"}],"enrichment":{"capability":"salt-lint checks Salt State files (SLS) for best practices and potential improvements, flagging style and behavior issues via command-line rules.","skillfed_tags":["saltstack","linting","configuration-management"],"use_cases":["Enforce consistent formatting and style across a team's SaltStack state files before deployment.","Catch deprecated Salt state options and syntax errors early in development or CI/CD pipelines.","Validate SLS file naming and structure to prevent runtime reference failures in Salt.","Integrate into pre-commit hooks or CI workflows to block commits with linting violations.","Identify common Jinja templating mistakes and missing spaces in variable interpolation."],"what_it_does":"salt-lint is a command-line linter for SaltStack state files (SLS format), designed to catch style violations, structural issues, and anti-patterns that could lead to runtime problems or maintenance headaches. It runs a set of numbered rules\u2014covering indentation, quoting, Jinja templating, deprecated state options, and naming conventions\u2014and reports violations with file location and severity. The tool depends on pyyaml for parsing YAML and pathspec for file filtering, making it a lightweight addition to a Salt development workflow.\n\nYou run it as a CLI tool against a directory or individual SLS files, and it outputs violations in a format suitable for CI/CD pipelines or editor integration. The project is modeled on ansible-lint and has been actively maintained since 2019, with support for modern Python versions (3.6\u20133.11) and regular rule additions to catch new categories of mistakes.","worth_installing":"Yes. salt-lint is a stable, actively maintained tool with low install friction, no known vulnerabilities, and a permissive MIT license. It fills a clear need for SaltStack users who want automated quality checks on state files. Install it if you manage Salt configurations and want to catch style and logic issues before they reach production."},"id":"salt-lint","links":{"html":"https://skillfed.io/packages/salt-lint","md":"https://skillfed.io/packages/salt-lint.md","pypi":"https://pypi.org/project/salt-lint/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-02-09","license_spdx":null,"license_treatment":"permissive","name":"salt-lint","python_support":"supports_current","summary":"A command-line utility that checks for best practices in SaltStack."},"popularity":{"monthly_downloads":504744,"position":6295,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.2"}
