openstreetmap-website/.erb_lint.yml
Andy Allan ce342fede0 Move html_safe declaration for user_mailer from layout to helper
This allows us to enable output safety checks for all code within
erb files.

`rubocop --auto-gen-config` ignores code within the erb files, so
it is easier to maintain an exclusion on the helper than inside
the layout.
2024-11-27 18:04:32 +00:00

30 lines
657 B
YAML

---
linters:
AllowedScriptType:
enabled: true
disallow_inline_scripts: true
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Layout/InitialIndentation:
Enabled: false
Layout/LineLength:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Naming/FileName:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
SelfClosingTag:
enabled: false
SpaceInHtmlTag:
enabled: true
exclude:
- '**/vendor/**'