- Fix
ControlStatementSpacingreporting false positives after an attribute that spans multiple lines using a backslash (\) continuation
- Add check for invalid keys in config files
- Add support to
ControlStatementSpacingfor linting spaces after-control code
- Fix performance regression with RuboCop 1.72+
- Update
QuoteConsistencyto only inspect HTML blocks
- Add
QuoteConsistencylinter for enforcing single/double quotes
- Fix loading of
RuboCoplinter on Ruby 3.3.5+
- Add GitHub reporter
- Speed up load time by preferring require_relative in internal gem file loading
- Add
TagAttributelinter for restricting attribute usage - Fix bug where
rexmlgem was missing if user used RuboCop 1.66.0 or newer
- Add
Taglinter for restricting tag usage
- Add
InstanceVariableslinter - Add
StrictLocalsMissinglinter - Fix
EmbeddedEngineslinter missing indented uses
- Revert "Fix
ControlSpacingStatementlinter handling of=in some cases"
- Drop support for Ruby 2.x
- Fix
ControlSpacingStatementlinter handling of=in some cases
- Require RuboCop 1.x or newer
- Silence Parser gem warnings on startup
- Add
Zwspto report zero-width space characters - Allow Slim version 5.x
- Fix
CommentControlStatementto not reportTemplate Dependency:directives - Fix handling of disabled lines when running across multiple files
- Add
Layout/ClosingParenthesisIndentationto list of ignored RuboCop cops - Add
Layout/FirstHashElementIndentationto list of ignored RuboCop cops
- Disable RuboCop
Layout/FirstArgumentIndentation - Disable RuboCop
Layout/LineEndStringConcatenationIndentation - Add support for disabling linters on specific lines
- Fix handling of Slim documents with parse error
- Add
linterfield toJSONReporter - Add
EmbeddedEngineslinter - Add
EmacsReporterreporter - Add
--stdin-file-pathoption for specifying the name of a file passed via standard input
- Ignore
Style/WhileUntilDoRuboCop cop by default
- Disable
Style/IdenticalConditionalBranchescop by default
- Update minimum RuboCop version to 0.78.0 due to renaming of various cops and namespaces
- Remove dependency on
sysexitsgem - Update RuboCop dependency to require
0.77.0or newer
- Remove explicit dependency on Rake, making it optional as it's only needed for the Rake integration
- Fix
CommentControlStatementto not reportrubocop:{enable,disable}directives
- Disable
Layout/AlignArgumentsandLayout/InitialIndentationcops by default - Update
EmptyLineAfterGuardClausecop namespace fromStyletoLayoutto fix errors - Drop support for Ruby 2.3 and older
- Fix
ControlStatementSpacingto support other output operators=>,=<>, and=<
- Add
ControlStatementSpacinglinter - Allow Slim 4.x
- Fix
TrailingBlankLinesto ignore empty files - Fix
excludesoption to correctly filter files when relative path globs are used
- Improve RuboCop linter to not use temporary files when linting
- Add
TrailingBlankLineslinter - Add
EmptyLineslinter - Add support for RuboCop 0.50.0
- Require RuboCop 0.50.0 or newer
- Fix
Metrics/BlockNestingRuboCop cop to be disabled by default - Disable
Layout/AlignArrayandLayout/IndentArrayRuboCop cops by default
- Add support for RuboCop 0.49.0
- Require RuboCop 0.49.0 or newer
- Add support for RuboCop 0.48.0
- Require RuboCop 0.48.0 or newer
- Update minimum RuboCop version to 0.47.0+ due to breaking change in RuboCop AST interface
- Relax rake gem constraint to allow 12.x
- Fix
skip_frontmatteroption - Add
Tablinter which reports the use of hard tabs as indentation
- Disable
Style/Multiline*cops by default - Disable
Metrics/BlockLengthRuboCop cop by default
- Additional fix for line numbers reported when Ruby code spans multiple lines in a single control/code statement
- Fix line numbers reported when Ruby code spans multiple lines in a single control/code statement
- Add
Checkstylereporter
- Relax
rakegem dependency to allow rake 11.x.x
- Fix
RuboCoplinter to not reportFrozenStringLiteralCommentcops as these are noisy in Slim templates
- Fix compatibility issues with Astrolabe gem by updating minimum RuboCop version to 0.36.0
- Fix
RuboCoplinter to not erroneously reportStyle/IdenticalConditionalBrancheswarnings
- Fix
excludeoption to work with paths prefixed with./
- Change required Ruby version from 1.9.3+ to 2.0.0+
- Fix rake task integration to not crash when running
rake -T - Improve bug reporting instructions in error message
- Add
-V/--verbose-versionflag to displayslim,rubocop, andrubyversion information in addition to output of-v/--versionflag
- Add support for
SLIM_LINT_RUBOCOP_CONFenvironment variable toRuboCoplinter, allowing external tools to specify RuboCop configuration to use - Change required Ruby version from 2.0.0+ to 1.9.3+
- Remove cop name from RuboCop offense message (this can be added via the
DisplayCopNamesoption in your.rubocop.yml)
- Fix Ruby code extraction to result in fewer false positives from
RuboCop - Fix
ConsecutiveControlStatementsto not report control statements with nested content (i.e.if/elsif/else)
- Add support for
include/excludeoptions on linters, allowing a list of files or glob patterns to be included/excluded from a linter's scope - Add support for global
excludeconfiguration option allowing a list of files or glob patterns to be excluded from all linters
- Ignore
Style/IndentationConsistencyRuboCop warnings - Add
ConsecutiveControlStatementswhich recommends condensing multiple control statements into a singleruby:filter - Add
EmptyControlStatementwhich reports control statements with no code - Add
CommentControlStatementwhich reports control statement with only comments - Add
TagCasewhich reports tags with uppercase characters
- Initial release