v0.3.3.
Files
smarty-lint runs on files with the following extension:.tpl
Configuration
boolean
default:true
Enable smarty-lint
- .coderabbit.yaml
- Web UI
.coderabbit.yaml
smartylint.json. If no config file is present, CodeRabbit creates a temporary smartylint.json that scans **/*.tpl.
If smartylint.js is present, CodeRabbit skips smarty-lint rather than executing a JavaScript config file.
When we skip smarty-lint
CodeRabbit will skip running smarty-lint when:- No
.tplfiles are found in the pull request. - smarty-lint is already running in GitHub workflows.
smartylint.jsis present in the repository.