Releases: sds/haml-lint
Releases · sds/haml-lint
HAML-Lint 0.18.0
Minor changes and bug fixes.
- Fix
RuboCop
linter'signored_cops
setting to not crash when empty string - Include linter name in JSON reporter output
- Allow IDs before classes to be preferred in
ClassesBeforeIds
linter - Respect HAML comments as Ruby code comments so RuboCop cops can be disabled/enabled inline via comments
HAML-Lint 0.17.1
Hotfix for 0.17.0
- Fix
Checkstyle
output format to properly quote characters in messages
HAML-Lint 0.17.0
Adds support for Checkstyle
output.
- Add
Checkstyle
output format - Add
EmptyObjectReference
linter to report tags with empty object references
HAML-Lint 0.16.2
Includes minor bug fixes.
- Fix
UnnecessaryStringOutput
to not erroneously warn on lines with equal signs in the middle of the line - Fix
skip_frontmatter
option to preserve line numbers
HAML-Lint 0.16.1
Minor hotfix for 0.16.0.
- Fix
RuboCop
linter to ignoreElseAlignment
andFrozenStringLiteralComment
cops by default
HAML-Lint 0.16.0
This release fixes a breaking change caused by RuboCop 0.36.0, which removed a dependency on the Astrolabe gem. It also includes a few minor bug fixes.
- Fix
MultilineScript
to not erroneously reportbegin
/rescue
blocks - Fix
ClassAttributeWithStaticValue
to not erroneously reportclass
attributes with method call or instance variable values - Update minimum RuboCop version to 0.36.0 to fix compatibility issues with
Astrolabe gem, switching to RuboCop's own implementation instead - Fix
RuboCop
linter to not erroneously report
Style/IdenticalConditionalBranches
warnings
HAML-Lint 0.15.2
This is a hotfix release that addresses an issue where some users Ruby file reading libraries would incorrectly detect a UTF-8 file as US-ASCII. haml-lint
now assumes all files are UTF-8 encoded by default.
HAML-Lint 0.15.1
A small bug fix release.
- Fix
RuboCop
linter to properly parse files containing anonymous blocks with
trailing comments - Fix
exclude
option to work with paths prefixed with./
- Fix
RuboCop
linter to not report erroneousStyle/Next
warnings forif
statements indo
blocks
HAML-Lint 0.15.0
Adds a couple of simple linters and fixes a few bugs.
- Improve bug reporting instructions in error message
- Add
Indentation
linter to enforce that spaces or tabs are used for
indentation (enabled by default and defaults to spaces) - Add
FinalNewline
linter to enforce the presence of a final newline
in files - Fix
UnnecessaryStringOutput
to gracefully handle script output with comments - Add verbose version flag
-V/--verbose-version
to displayhaml
andruby
version information in addition to output of-v/--version
flag
HAML-Lint 0.14.1
Minor hotfix that corrects a false positive in UnnecessaryStringOutput
.
Bug Fixes
- Fix bug in
UnnecessaryStringOutput
where false positives would still be
reported for literal strings with interpolation