.erb-lint.yml
---
exclude:
- vendor/**/*
# These files are autogenerated by maizzle
- app/views/devise/mailer/_reset_password_instructions_new_theme.html.erb
- app/views/_tailwind/alert_mailer/alert.html.erb
EnableDefaultLinters: true
linters:
PartialInstanceVariable:
enabled: true
ErbSafety:
# This one is just weird to me when you're just trying to include a string inside quotes in some js it fails
enabled: false
RequireScriptNonce:
enabled: false
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Style/FrozenStringLiteralComment:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Layout/InitialIndentation:
Enabled: false
Layout/ExtraSpacing:
Enabled: false
Style/TrailingCommaInArguments:
Exclude:
- app/views/admin/application/*
Layout/FirstArgumentIndentation:
Exclude:
- app/views/admin/application/*
Style/MultilineIfModifier:
Exclude:
- app/views/admin/application/*
Layout/TrailingWhitespace:
Exclude:
- app/views/admin/application/*
Layout/MultilineMethodCallBraceLayout:
Exclude:
- app/views/admin/application/*
Layout/LeadingEmptyLines:
Exclude:
- app/views/admin/application/*
Layout/ArgumentAlignment:
Exclude:
- app/views/admin/application/*