Releases: sds/haml-lint
Releases · sds/haml-lint
HAML-Lint 0.26.0
- Add support for RuboCop 0.49.0+
- Require RuboCop 0.49.0+ due to breaking upstream change
- Condense generated
.haml-lint_todo.yml
file by usingenabled: false
for linters with lints in more than 15 files - Fix
UnnecessaryInterpolation
linter for two character variable names - Add
ViewLength
linter for checking whether a view has too many lines in it.
HAML-Lint 0.25.1
This is a hot-fix for an error introduced by the previous release (see #232)
HAML-Lint 0.25.0
This release adds proper support for Haml 5! Big thanks to @michaelherold and @dvdbng for adding support.
- Add
max_consecutive
option toConsecutiveComments
linter - Fix
TrailingWhitespace
linter to report correct line for multiline nodes - Add
InlineStyles
linter to check for use of thestyle
attribute - Add support for Haml 5.0.0+
HAML-lint 0.24.0
- Add new Indentation linter
- Add
--auto-gen-config
to generate a "todo-list" of offenses to fix - Add
inherits_from
to configuration to allow reusability - Prevent crashing when unexpected syntax is discovered
HAML-lint 0.23.2
- Handle different line endings in files
- Report real line number with lint for LineLength
HAML-lint 0.23.1
- Ensure RepeatedId linter resets between files
HAML-lint 0.23.0
- Fix issue with running haml-lint on empty files
- Keep empty lines within Ruby filters
HAML-lint 0.22.1
- (Bug fix) Add
json
back to list produced by--show-reporters
HAML-Lint 0.22.0
This is a big and exciting update for the project, all thanks to fabulous work by @michaelherold!
- Allow linters to be toggled with inline comments:
-# haml-lint:disable IdNames
- Add new progress reporter,
--reporter progress
- Allow linter to --fail-fast on first file that has a lint above the given --fail-level
- Add new InstanceVariable linter to find usage of @instance_variables
- Add new hash reporter to make integrations with other tools simpler
- Add new AlignmentTabs to catch usage of tabs for alignment
- Show summary at the end when the --summary flag is used
- Report syntax errors as a Syntax linter
- Add new IdNames linter, checking format of #id-strings
- Add support for Haml 5
HAML-lint 0.21.0
Stop using temp files for RuboCop (#172)