forked from ManageIQ/manageiq-ui-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.haml-lint.yml
97 lines (76 loc) · 1.58 KB
/
.haml-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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
skip_frontmatter: false
linters:
AltText:
enabled: false
ClassAttributeWithStaticValue:
enabled: true
severity: warning
ClassesBeforeIds:
enabled: false
ConsecutiveComments:
enabled: false
ConsecutiveSilentScripts:
enabled: false
EmptyScript:
enabled: true
severity: warning
HtmlAttributes:
enabled: true
severity: warning
ImplicitDiv:
enabled: true
severity: warning
LeadingCommentSpace:
enabled: true
severity: warning
LineLength:
enabled: true
max: 160
severity: warning
MultilinePipe:
enabled: false
MultilineScript:
enabled: false
ObjectReferenceAttributes:
enabled: true
severity: warning
RuboCop:
enabled: true
ignored_cops:
- Lint/BlockAlignment
- Lint/EndAlignment
- Lint/Void
- Metrics/LineLength
- Style/AlignParameters
- Style/BlockNesting
- Style/ExtraSpacing
- Style/FileName
- Style/FinalNewline
- Style/IfUnlessModifier
- Style/IndentationWidth
- Style/Next
- Style/TrailingBlankLines
- Style/TrailingWhitespace
- Style/WhileUntilModifier
- Style/SpaceAroundOperators
RubyComments:
enabled: true
severity: warning
SpaceBeforeScript:
enabled: true
severity: warning
SpaceInsideHashAttributes:
enabled: true
style: no_space
severity: warning
TagName:
enabled: true
severity: warning
TrailingWhitespace:
enabled: false
UnnecessaryInterpolation:
enabled: true
severity: warning
UnnecessaryStringOutput:
enabled: true
severity: warning