-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.slim-lint.yml
47 lines (46 loc) · 1.5 KB
/
.slim-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
linters:
LineLength:
max: 100
RuboCop:
enabled: true
ignored_cops:
# These cops are incredibly noisy since the Ruby we extract from Slim
# templates isn't well-formatted, so we ignore them.
- Layout/AlignArguments
- Layout/AlignArray
- Layout/AlignHash
- Layout/AlignParameters
- Layout/ArgumentAlignment
- Layout/EmptyLineAfterGuardClause
- Layout/FirstArgumentIndentation
- Layout/FirstArrayElementIndentation
- Layout/FirstParameterIndentation
- Layout/HashAlignment
- Layout/IndentArray
- Layout/IndentationConsistency
- Layout/IndentationWidth
- Layout/InitialIndentation
- Layout/MultilineArrayBraceLayout
- Layout/MultilineAssignmentLayout
- Layout/MultilineHashBraceLayout
- Layout/MultilineMethodCallBraceLayout
- Layout/MultilineMethodCallIndentation
- Layout/MultilineMethodDefinitionBraceLayout
- Layout/MultilineOperationIndentation
- Layout/TrailingBlankLines
- Layout/TrailingEmptyLines
- Layout/TrailingWhitespace
- Lint/BlockAlignment
- Lint/EndAlignment
- Lint/Void
- Metrics/BlockLength
- Metrics/BlockNesting
- Metrics/LineLength
- Naming/FileName
- Style/FrozenStringLiteralComment
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilModifier
# Also ignoring this cop since it is redundantly checked by brakeman
- Rails/OutputSafety
- Rails/LinkToBlank