Files
openproject/.erb_lint.yml
T
Eric Schubert 46ab5091ee [#61619] disable erblint rule RedundantConstantBase
- the rules falsy calls out using leading `::` in a erb view template
2025-02-24 14:01:20 +01:00

44 lines
1.0 KiB
YAML

---
EnableDefaultLinters: true
inherit_gem:
erblint-github:
- config/accessibility.yml
exclude:
- '**/frontend/**/*'
- '**/node_modules/**/*'
- '**/vendor/**/*'
linters:
ErbSafety:
enabled: true
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Layout/CommentIndentation:
Enabled: false
Layout/FirstArgumentIndentation:
EnforcedStyle: consistent
Layout/FirstMethodArgumentLineBreak:
Enabled: true
Layout/InitialIndentation:
Enabled: false
Layout/LeadingEmptyLines:
Enabled: false
Layout/LineLength:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Naming/FileName:
Enabled: false
Rails/OutputSafety:
Enabled: true
Style/FrozenStringLiteralComment:
Enabled: false
Style/RedundantConstantBase:
Enabled: false