Slim-Lint Changelog
February 2, 2026 ยท View on GitHub
0.34.0
- Add check for invalid keys in config files
0.33.0
- Add support to
ControlStatementSpacingfor linting spaces after-control code
0.32.2
- Fix performance regression with RuboCop 1.72+
0.32.1
- Update
QuoteConsistencyto only inspect HTML blocks
0.32.0
- Add
QuoteConsistencylinter for enforcing single/double quotes
0.31.1
- Fix loading of
RuboCoplinter on Ruby 3.3.5+
0.31.0
- Add GitHub reporter
0.30.0
- Speed up load time by preferring require_relative in internal gem file loading
0.29.0
- Add
TagAttributelinter for restricting attribute usage - Fix bug where
rexmlgem was missing if user used RuboCop 1.66.0 or newer
0.28.0
- Add
Taglinter for restricting tag usage
0.27.0
- Add
InstanceVariableslinter - Add
StrictLocalsMissinglinter - Fix
EmbeddedEngineslinter missing indented uses
0.26.0
- Revert "Fix
ControlSpacingStatementlinter handling of=in some cases"
0.25.0
- Drop support for Ruby 2.x
- Fix
ControlSpacingStatementlinter handling of=in some cases
0.24.0
- Require RuboCop 1.x or newer
- Silence Parser gem warnings on startup
0.23.0
- Add
Zwspto report zero-width space characters - Allow Slim version 5.x
0.22.1
- 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
0.22.0
- Disable RuboCop
Layout/FirstArgumentIndentation - Disable RuboCop
Layout/LineEndStringConcatenationIndentation - Add support for disabling linters on specific lines
0.21.1
- Fix handling of Slim documents with parse error
0.21.0
- Add
linterfield toJSONReporter - Add
EmbeddedEngineslinter - Add
EmacsReporterreporter - Add
--stdin-file-pathoption for specifying the name of a file passed via standard input
0.20.2
- Ignore
Style/WhileUntilDoRuboCop cop by default
0.20.1
- Disable
Style/IdenticalConditionalBranchescop by default
0.20.0
- Update minimum RuboCop version to 0.78.0 due to renaming of various cops and namespaces
0.19.0
- Remove dependency on
sysexitsgem - Update RuboCop dependency to require
0.77.0or newer
0.18.0
- Remove explicit dependency on Rake, making it optional as it's only needed for the Rake integration
0.17.1
- Fix
CommentControlStatementto not reportrubocop:{enable,disable}directives
0.17.0
- Disable
Layout/AlignArgumentsandLayout/InitialIndentationcops by default - Update
EmptyLineAfterGuardClausecop namespace fromStyletoLayoutto fix errors - Drop support for Ruby 2.3 and older
0.16.1
- Fix
ControlStatementSpacingto support other output operators=>,=<>, and=<
0.16.0
- Add
ControlStatementSpacinglinter - Allow Slim 4.x
0.15.1
- Fix
TrailingBlankLinesto ignore empty files - Fix
excludesoption to correctly filter files when relative path globs are used
0.15.0
- Improve RuboCop linter to not use temporary files when linting
0.14.0
- 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
0.13.0
- Add support for RuboCop 0.49.0
- Require RuboCop 0.49.0 or newer
0.12.0
- Add support for RuboCop 0.48.0
- Require RuboCop 0.48.0 or newer
0.11.0
- Update minimum RuboCop version to 0.47.0+ due to breaking change in RuboCop AST interface
0.10.0
- Relax rake gem constraint to allow 12.x
0.9.0
- Fix
skip_frontmatteroption - Add
Tablinter which reports the use of hard tabs as indentation
0.8.3
- Disable
Style/Multiline*cops by default - Disable
Metrics/BlockLengthRuboCop cop by default
0.8.2
- Additional fix for line numbers reported when Ruby code spans multiple lines in a single control/code statement
0.8.1
- Fix line numbers reported when Ruby code spans multiple lines in a single control/code statement
0.8.0
- Add
Checkstylereporter
0.7.2
- Relax
rakegem dependency to allow rake 11.x.x
0.7.1
- Fix
RuboCoplinter to not reportFrozenStringLiteralCommentcops as these are noisy in Slim templates
0.7.0
- Fix compatibility issues with Astrolabe gem by updating minimum RuboCop version to 0.36.0
- Fix
RuboCoplinter to not erroneously reportStyle/IdenticalConditionalBrancheswarnings
0.6.1
- Fix
excludeoption to work with paths prefixed with./
0.6.0
- 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
0.5.0
- 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)
0.4.0
- 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)
0.3.0
- 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
0.2.0
- 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
0.1.0
- Initial release