-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.slim-lint.yml
48 lines (47 loc) · 1.52 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
48
linters:
FileLength:
enabled: false
LineLength:
enabled: false
ControlStatementSpacing:
enabled: false
TagCase:
exclude:
- app/views/feeds/**/*.xml.slim
# Waiting on release: https://github.com/sds/slim-lint/pull/90
RuboCop:
enabled: true
# These cops are incredibly noisy since the Ruby we extract from Slim
# templates isn't well-formatted, so we ignore them.
# WARNING: If you define this list in your own .slim-lint.yml file, you'll
# be overriding the list defined here.
# ignored_cops:
# - Layout/AlignArray
# - Layout/AlignHash
# - Layout/AlignParameters
# - Layout/EmptyLineAfterGuardClause
# - Layout/FirstParameterIndentation
# - 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/TrailingWhitespace
# - Lint/BlockAlignment
# - Lint/EndAlignment
# - Lint/Void
# - Layout/BlockLength
# - Layout/BlockNesting
# - Layout/LineLength
# - Naming/FileName
# - Style/FrozenStringLiteralComment
# - Style/IfUnlessModifier
# - Style/Next
# - Style/WhileUntilModifier