mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 15:24:09 +01:00
- Fix UART list indentation (yamllint error) - Remove trailing spaces in display lambda - Add missing newline at end of file - Add ON/OFF to yamllint truthy allowed values - Fix invalid comments rule option in .yamllint.yml - Lint only changed files in CI (avoids blocking PRs with pre-existing issues) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
504 B
YAML
22 lines
504 B
YAML
extends: default
|
|
|
|
rules:
|
|
# ESPHome uses True/False (Python style) and yes/no
|
|
truthy:
|
|
allowed-values: ["true", "false", "True", "False", "yes", "no", "on", "off", "ON", "OFF"]
|
|
check-keys: false
|
|
|
|
# Lambdas and long substitutions can exceed 80 chars
|
|
line-length:
|
|
max: 200
|
|
level: warning
|
|
|
|
# Not all files use --- document start marker
|
|
document-start: disable
|
|
|
|
# Some files have trailing spaces; warn only
|
|
trailing-spaces: enable
|
|
|
|
comments:
|
|
require-starting-space: false
|