-
Notifications
You must be signed in to change notification settings - Fork 0
/
.erb-lint.yml
53 lines (53 loc) · 1.08 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
---
exclude:
- '**/vendor/**/*'
---
linters:
ClosingErbTagIndent:
enabled: true
FinalNewline:
enabled: false
ExtraNewline:
enabled: true
FinalNewline:
enabled: true
HardCodedString:
enabled: false
RightTrim:
enabled: true
enforced_style: '-'
Rubocop:
enabled: true
rubocop_config:
inherit_gem:
niftany:
- niftany_rubocop_ruby.yml
- niftany_rubocop_rails.yml
Layout/InitialIndentation:
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
Naming/FileName:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/LineLength:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Rails/OutputSafety:
Enabled: false
SelfClosingTag:
enabled: false
SelfClosingTagCustom:
enabled: true
SpaceAroundErbTag:
enabled: true
SpaceInHtmlTag:
enabled: true
SpaceIndentation:
enabled: true
TrailingWhitespace:
enabled: true