---
name: smarty-lint
description: "Use when adopting smarty-lint to assess this standard: Validate Smarty templates before render"
---

# Apply smarty-lint

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

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by smarty-lint.
2. 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.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://docs.coderabbit.ai/tools/smarty-lint) for configuration and prerequisites.
