Skip to content

Releases: sds/haml-lint

HAML-Lint 0.26.0

02 Jun 12:11
Compare
Choose a tag to compare
  • 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 using enabled: 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

11 May 12:19
Compare
Choose a tag to compare

This is a hot-fix for an error introduced by the previous release (see #232)

HAML-Lint 0.25.0

11 May 00:13
@sds sds
cac0558
Compare
Choose a tag to compare

This release adds proper support for Haml 5! Big thanks to @michaelherold and @dvdbng for adding support.

  • Add max_consecutive option to ConsecutiveComments linter
  • Fix TrailingWhitespace linter to report correct line for multiline nodes
  • Add InlineStyles linter to check for use of the style attribute
  • Add support for Haml 5.0.0+

HAML-lint 0.24.0

28 Mar 12:12
Compare
Choose a tag to compare
  • 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

15 Mar 19:28
Compare
Choose a tag to compare
  • Handle different line endings in files
  • Report real line number with lint for LineLength

HAML-lint 0.23.1

11 Mar 16:55
Compare
Choose a tag to compare
  • Ensure RepeatedId linter resets between files

HAML-lint 0.23.0

09 Mar 13:56
Compare
Choose a tag to compare
  • Fix issue with running haml-lint on empty files
  • Keep empty lines within Ruby filters

HAML-lint 0.22.1

08 Mar 22:16
Compare
Choose a tag to compare
  • (Bug fix) Add json back to list produced by --show-reporters

HAML-Lint 0.22.0

07 Mar 16:49
Compare
Choose a tag to compare

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

07 Mar 16:50
Compare
Choose a tag to compare

Stop using temp files for RuboCop (#172)