-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.erb_lint.yml
36 lines (33 loc) · 1.04 KB
/
.erb_lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
EnableDefaultLinters: true
exclude:
- "**/vendor/**/*"
- "**/___*" # Files to deprecate
linters:
ErbSafety:
exclude:
- "**/app/components/header/nav_component.html.erb"
- "**/app/components/scores/campus_row_component.html.erb"
- "**/app/components/scores/squad_row_component.html.erb"
- "**/app/components/scores/user_row_component.html.erb"
- "**/app/components/snippets/box_component.html.erb"
- "**/app/views/pages/setup.html.erb"
# Disable "String not translated" errors while passing the --enable-all-linters flag
HardCodedString:
exclude:
- "**/app/components/**/*"
- "**/app/components/*" # https://github.com/Shopify/erb_lint/issues/265
- "**/app/views/**/*"
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Layout/InitialIndentation:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Rails/OutputSafety:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false