forked from forem/forem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.erb-lint.yml
42 lines (42 loc) · 1.21 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
linters:
SelfClosingTag:
enabled: false
ParserErrors:
exclude:
- '**/app/views/pages/_editor_guide_text.html.erb'
SpaceInHtmlTag:
exclude:
- '**/app/views/pages/_editor_guide_text.html.erb'
AllowedScriptType:
enabled: true
allowed_types:
- 'text/javascript'
- 'text/x-tmpl'
- 'application/ld+json'
allow_blank: true
disallow_inline_scripts: false
Rubocop:
enabled: true
rubocop_config:
inherit_from:
- .rubocop.yml
Layout/InitialIndentation:
Enabled: false
Layout/LineLength:
Max: 289
Exclude:
- '**/app/views/comments/_comment_proper.html.erb'
Layout/TrailingEmptyLines:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Rails/OutputSafety:
Enabled: false
Exclude:
- '**/app/views/feedback_messages/index.html.erb'
- '**/app/views/layouts/_styles.html.erb'
- '**/app/views/liquid_embeds/show.html.erb'
- '**/app/views/moderations/mod.html.erb'
- '**/app/views/pages/onboarding.html.erb'
- '**/app/views/partnerships/show.html.erb'
- '**/app/views/partnerships/index.html.erb'