forked from 18F/identity-idp
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.slim-lint.yml
40 lines (40 loc) · 1.38 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
linters:
LineLength:
max: 100
TagCase:
exclude:
- 'app/views/voice/otp/show.xml.slim'
RuboCop:
enabled: true
# slim-lint ignores all of these cops by default, and we need to copy them
# all over if we want to add more cops to the list. We had to do this to
# ignore the Metrics/BlockLength cop, which will hopefully be ignored by
# default if this issue is addressed: https://github.com/sds/slim-lint/issues/49
# If it gets added to the default list of ignored cops, we can remove this
# whole RuboCop section.
ignored_cops:
- Lint/BlockAlignment
- Lint/EndAlignment
- Lint/Void
- Metrics/BlockLength
- Metrics/LineLength
- Style/AlignHash
- Style/AlignParameters
- Style/BlockNesting
- Style/FileName
- Style/FirstParameterIndentation
- Style/FrozenStringLiteralComment
- Style/IfUnlessModifier
- Style/IndentationConsistency
- Style/IndentationWidth
- Style/MultilineArrayBraceLayout
- Style/MultilineAssignmentLayout
- Style/MultilineHashBraceLayout
- Style/MultilineMethodCallBraceLayout
- Style/MultilineMethodDefinitionBraceLayout
- Style/MultilineMethodCallIndentation
- Style/MultilineOperationIndentation
- Style/Next
- Style/TrailingBlankLines
- Style/TrailingWhitespace
- Style/WhileUntilModifier