config/default.yml in slim_lint-0.26.0 vs config/default.yml in slim_lint-0.27.0
- old
+ new
@@ -30,10 +30,16 @@
FileLength:
enabled: false
max: 300
+ InstanceVariables:
+ enabled: false
+ include:
+ # Include only partial templates by default
+ - app/views/**/_*.html.slim
+
LineLength:
enabled: true
max: 80
RedundantDiv:
@@ -80,9 +86,15 @@
- Style/IdenticalConditionalBranches
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilDo
- Style/WhileUntilModifier
+
+ StrictLocalsMissing:
+ enabled: false
+ include:
+ # Include only Rails partial templates by default
+ - app/views/**/_*.html.slim
Tab:
enabled: true
TagCase: