config/default.yml in slim_lint-0.15.1 vs config/default.yml in slim_lint-0.16.0
- old
+ new
@@ -9,10 +9,13 @@
linters:
CommentControlStatement:
enabled: true
+ ControlStatementSpacing:
+ enabled: true
+
ConsecutiveControlStatements:
enabled: true
max_consecutive: 2
EmptyControlStatement:
@@ -26,10 +29,14 @@
LineLength:
enabled: true
max: 80
+ FileLength:
+ enabled: false
+ max: 300
+
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
@@ -56,9 +63,10 @@
- Lint/Void
- Metrics/BlockLength
- Metrics/BlockNesting
- Metrics/LineLength
- Naming/FileName
+ - Style/EmptyLineAfterGuardClause
- Style/FrozenStringLiteralComment
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilModifier