config/default.yml in slim_lint-0.13.0 vs config/default.yml in slim_lint-0.14.0
- old
+ new
@@ -16,10 +16,13 @@
max_consecutive: 2
EmptyControlStatement:
enabled: true
+ EmptyLines:
+ enabled: true
+
RedundantDiv:
enabled: true
LineLength:
enabled: true
@@ -30,13 +33,15 @@
# 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/FirstParameterIndentation
+ - Layout/IndentArray
- Layout/IndentationConsistency
- Layout/IndentationWidth
- Layout/MultilineArrayBraceLayout
- Layout/MultilineAssignmentLayout
- Layout/MultilineHashBraceLayout
@@ -48,21 +53,24 @@
- Layout/TrailingWhitespace
- Lint/BlockAlignment
- Lint/EndAlignment
- Lint/Void
- Metrics/BlockLength
+ - Metrics/BlockNesting
- Metrics/LineLength
- - Style/BlockNesting
- - Style/FileName
+ - Naming/FileName
- Style/FrozenStringLiteralComment
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilModifier
Tab:
enabled: true
TagCase:
+ enabled: true
+
+ TrailingBlankLines:
enabled: true
TrailingWhitespace:
enabled: true