config/default.yml in slim_lint-0.12.0 vs config/default.yml in slim_lint-0.13.0
- old
+ new
@@ -30,33 +30,33 @@
# 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/AlignHash
+ - Layout/AlignParameters
+ - Layout/FirstParameterIndentation
+ - Layout/IndentationConsistency
+ - Layout/IndentationWidth
+ - Layout/MultilineArrayBraceLayout
+ - Layout/MultilineAssignmentLayout
+ - Layout/MultilineHashBraceLayout
+ - Layout/MultilineMethodCallBraceLayout
+ - Layout/MultilineMethodCallIndentation
+ - Layout/MultilineMethodDefinitionBraceLayout
+ - Layout/MultilineOperationIndentation
+ - Layout/TrailingBlankLines
+ - Layout/TrailingWhitespace
- 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
Tab:
enabled: true