Metadata-Version: 2.4
Name: sarj-iac-lint
Version: 0.7.0
Summary: Custom Terraform / IaC lint rules — stdlib, pre-commit-friendly.
Project-URL: Homepage, https://github.com/sarj-ai/standards/tree/main/packages/iac
Project-URL: Repository, https://github.com/sarj-ai/standards
Project-URL: Issues, https://github.com/sarj-ai/standards/issues
Author: sarj-ai
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.14
Description-Content-Type: text/markdown

# sarj-iac-lint

Deterministic Terraform and IaC safety rules. They require effective deletion
protection for stateful or irreplaceable resources and reject commented-out
configuration and section-banner noise.

```bash
uv tool install sarj-iac-lint
sarj-iac-lint list-rules
sarj-iac-lint check --rule require-deletion-protection infrastructure/
```

Sarj repositories normally run the package through `sarj-standards check`.
Diagnostics use `path:line:column: CODE message`. Suppress an intentional
finding on the relevant line with an exact code and reason, for example
`# sarj-noqa: SARJ201 -- temporary sandbox resource`.

Protection expressions are not accepted as proof when static analysis cannot
establish that they evaluate to a safe value. Each registry entry under
`src/sarj_iac_lint/rules/` and its paired test are the authoritative rule
specification. Run `sarj-standards show rules` for the current catalog.
