Releases: sds/haml-lint
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
HAML-Lint 0.14.0
This release includes a significant refactor that makes it much easier to test and extend haml-lint
going forward. One important point to note is that support for Ruby 1.9.3 has been dropped (since it was EOLed in February 2015).
New Features
- Add
severity
linter option allowing the severity of a lint to be explicitly
specified
Changes
- Change required Ruby version from 1.9.3+ to 2.0.0+ since 1.9.3 has been EOLed
Bug Fixes
- Fix false positives in
UnnecessaryStringOutput
for strings starting with
reserved HAML characters (where enclosing in a string is required) - Fix
RuboCop
to report correct lines for cops reported on interpolated Ruby
code in filters