# 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. [Cited source](https://raw.githubusercontent.com/modix/smarty-lint/master/README.md)
- **Measurement** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can someone repeat the measurement? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+smarty-lint+%C2%B7+Measurement&body=Practice%3A+smarty-lint%0ACriterion%3A+measurement+%28rubric+v1%29%0ACan+someone+repeat+the+measurement%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
  - What would demonstrate a violation? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+smarty-lint+%C2%B7+Conformance&body=Practice%3A+smarty-lint%0ACriterion%3A+conformance+%28rubric+v1%29%0AWhat+would+demonstrate+a+violation%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can a change trigger a useful check? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+smarty-lint+%C2%B7+CI+enforcement&body=Practice%3A+smarty-lint%0ACriterion%3A+ci+%28rubric+v1%29%0ACan+a+change+trigger+a+useful+check%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can a newcomer complete a first run? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+smarty-lint+%C2%B7+Getting+started&body=Practice%3A+smarty-lint%0ACriterion%3A+firstRun+%28rubric+v1%29%0ACan+a+newcomer+complete+a+first+run%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **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. [Cited source](https://docs.coderabbit.ai/tools/smarty-lint)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can an agent act on a specific finding? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+smarty-lint+%C2%B7+Agent+guidance&body=Practice%3A+smarty-lint%0ACriterion%3A+guidance+%28rubric+v1%29%0ACan+an+agent+act+on+a+specific+finding%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.
  - Does the practice work in two agent harnesses? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+smarty-lint+%C2%B7+Agent+portability&body=Practice%3A+smarty-lint%0ACriterion%3A+portability+%28rubric+v1%29%0ADoes+the+practice+work+in+two+agent+harnesses%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)

## 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)
