GS/BS
← Standards directory
Code quality

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.

Smarty

Community rubric · v1

The evidence

Evidence coverage2 / 8
2 supported · 6 unresolved

One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.

Latest evidence review ·

  • Definition

    Verified

    The eqeqeq rule identifies coercing equality operators in Smarty expressions and documents configurable exceptions.

    Cited source ↗
  • Measurement

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can someone repeat the measurement? Contribute evidence ↗

  • Conformance

    Unknown

    No reviewed evidence is recorded for this dimension.

    What would demonstrate a violation? Contribute evidence ↗

  • CI enforcement

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a change trigger a useful check? Contribute evidence ↗

  • Getting started

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a newcomer complete a first run? Contribute evidence ↗

  • Real-world adoption

    Verified

    CodeRabbit lints .tpl changes under the nearest supported Smarty configuration and reports operators, naming and string-literal issues.

    Cited source ↗
  • Agent guidance

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can an agent act on a specific finding? Contribute evidence ↗

  • Agent portability

    Unknown

    No reviewed evidence is recorded for this dimension.

    Does the practice work in two agent harnesses? Contribute evidence ↗

Use this standard

Agent prompt

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.
Read the agent skill ↗

Primary source

smarty-lint documentation ↗