config/default.yml in slim_lint-0.1.0 vs config/default.yml in slim_lint-0.2.0
- old
+ new
@@ -6,10 +6,20 @@
# Whether to ignore frontmatter at the beginning of Slim documents for
# frameworks such as Jekyll/Middleman
skip_frontmatter: false
linters:
+ CommentControlStatement:
+ enabled: true
+
+ ConsecutiveControlStatements:
+ enabled: true
+ max_consecutive: 2
+
+ EmptyControlStatment:
+ enabled: true
+
ExplicitDiv:
enabled: true
LineLength:
enabled: true
@@ -26,13 +36,17 @@
- Metrics/LineLength
- Style/AlignParameters
- Style/BlockNesting
- Style/FileName
- Style/IfUnlessModifier
+ - Style/IndentationConsistency
- Style/IndentationWidth
- Style/Next
- Style/TrailingBlankLines
- Style/TrailingWhitespace
- Style/WhileUntilModifier
+
+ TagCase:
+ enabled: true
TrailingWhitespace:
enabled: true