# smarty-lint

Validate Smarty templates before render

Check changed Smarty templates with a parser that matches the template engine. Review malformed tags and expressions before the view reaches runtime.

Category: Code quality
Languages: Smarty

## Standard evidence

Rubric v1 · 2/8 verified · 6 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — The eqeqeq rule identifies coercing equality operators in Smarty expressions and documents configurable exceptions. Reviewed 2026-11-28. [Source](https://raw.githubusercontent.com/modix/smarty-lint/master/README.md)
- **Measurement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (verified) — CodeRabbit lints .tpl changes under the nearest supported Smarty configuration and reports operators, naming and string-literal issues. Reviewed 2026-11-28. [Source](https://docs.coderabbit.ai/tools/smarty-lint)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use smarty-lint in this repository to meet this standard: Validate Smarty templates before render. Check changed Smarty templates with a parser that matches the template engine. Review malformed tags and expressions before the view reaches runtime. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://docs.coderabbit.ai/tools/smarty-lint)
- [Agent skill](/skills/smarty-lint/SKILL.md)
