-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.haml-lint.yml
50 lines (42 loc) · 1.04 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
# target_version:
# haml-lint v0.26.0
linters:
ClassesBeforeIds:
enabled: false
ConsecutiveComments:
enabled: false
IdNames:
enabled: false
InlineStyles:
enabled: false
LeadingCommentSpace:
enabled: false
LineLength:
max: 160
RuboCop:
enabled: true
# These cops are incredibly noisy (or not working at all) when it comes to HAML templates,
# so we ignore them.
ignored_cops:
- Lint/BlockAlignment
- Lint/EndAlignment
- Lint/Void
- Layout/AlignParameters
- Layout/EmptyLineAfterGuardClause
- Layout/IndentationWidth
- Layout/LineLength
- Layout/LeadingCommentSpace
- Layout/TrailingEmptyLines
- Metrics/BlockLength
- Metrics/LineLength
- Style/BlockNesting
- Style/ElseAlignment
- Style/EndOfLine
- Style/FileName
- Style/FinalNewline
- Style/FrozenStringLiteralComment
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilModifier
SpaceInsideHashAttributes:
enabled: false