-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
.haml-lint.yml
43 lines (39 loc) · 1.1 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
exclude:
- vendor/**/*
linters:
LineLength:
enabled: false
ViewLength:
enabled: false
# Another one that we should fix but sometimes it's non-trivial. So,
# putting aside for the time being
IdNames:
enabled: false
RuboCop:
enabled: true
# These cops are incredibly noisy when it comes to HAML templates, so we
# ignore them.
ignored_cops:
- Layout/ArgumentAlignment
- Layout/IndentationConsistency
- Layout/BlockAlignment
- Layout/EndAlignment
- Lint/Void
- Layout/ElseAlignment
- Layout/EndOfLine
- Layout/IndentationWidth
- Layout/TrailingWhitespace
- Layout/TrailingEmptyLines
- Metrics/BlockLength
- Metrics/BlockNesting
- Layout/LineLength
- Naming/FileName
- Style/FrozenStringLiteralComment
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilModifier
- Style/StringLiteralsInInterpolation
- Layout/CommentIndentation
- Sorbet/FalseSigil
- Sorbet/TrueSigil
- Sorbet/StrictSigil