forked from consuldemocracy/consuldemocracy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.erb-lint.yml
58 lines (58 loc) · 1.44 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
EnableDefaultLinters: false
exclude:
- '**/vendor/**/*'
linters:
AllowedScriptType:
enabled: true
ClosingErbTagIndent:
enabled: true
CommentSyntax:
enabled: true
ErbSafety:
enabled: true
exclude:
- app/components/budgets/investments/content_blocks_component.html.erb
- app/components/layout/footer_component.html.erb
- app/components/layout/social_component.html.erb
- app/components/layout/subnavigation_component.html.erb
- app/components/layout/top_links_component.html.erb
- app/views/admin/site_customization/content_blocks/index.html.erb
- app/views/layouts/application.html.erb
- app/views/layouts/dashboard.html.erb
- app/views/layouts/devise.html.erb
ExtraNewline:
enabled: true
FinalNewline:
enabled: true
NoJavascriptTagHelper:
enabled: true
ParserErrors:
enabled: true
RightTrim:
enabled: true
SpaceAroundErbTag:
enabled: true
SpaceIndentation:
enabled: true
SpaceInHtmlTag:
enabled: true
TrailingWhitespace:
enabled: true
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Layout/LineLength:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Rails/HttpStatus:
Enabled: true
Exclude:
- app/views/dashboard/*
Rails/OutputSafety:
Enabled: false