config/default.yml in slim_lint-0.16.1 vs config/default.yml in slim_lint-0.17.0

- old
+ new

@@ -9,48 +9,51 @@ linters: CommentControlStatement: enabled: true - ControlStatementSpacing: - enabled: true - ConsecutiveControlStatements: enabled: true max_consecutive: 2 + ControlStatementSpacing: + enabled: true + EmptyControlStatement: enabled: true EmptyLines: enabled: true - RedundantDiv: - enabled: true + FileLength: + enabled: false + max: 300 LineLength: enabled: true max: 80 - FileLength: - enabled: false - max: 300 + RedundantDiv: + enabled: true 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 # be overriding the list defined here. ignored_cops: + - Layout/AlignArguments - Layout/AlignArray - Layout/AlignHash - Layout/AlignParameters + - Layout/EmptyLineAfterGuardClause - Layout/FirstParameterIndentation - Layout/IndentArray - Layout/IndentationConsistency - Layout/IndentationWidth + - Layout/InitialIndentation - Layout/MultilineArrayBraceLayout - Layout/MultilineAssignmentLayout - Layout/MultilineHashBraceLayout - Layout/MultilineMethodCallBraceLayout - Layout/MultilineMethodCallIndentation @@ -63,10 +66,9 @@ - Lint/Void - Metrics/BlockLength - Metrics/BlockNesting - Metrics/LineLength - Naming/FileName - - Style/EmptyLineAfterGuardClause - Style/FrozenStringLiteralComment - Style/IfUnlessModifier - Style/Next - Style/WhileUntilModifier