Skip to content

Releases: lesshint/lesshint

1.3.0

08 Feb 09:38
Compare
Choose a tag to compare
  • Added the following linters:
  • Added the possibility to override linter severity and added a new exit status code for it. See linter docs for more info. (0bc95e1, 062950f, e1d6831)
  • Fixed an issue where excludedFiles in the config file weren't honored in the CLI. (974d0fa)
  • Updated lodash to 4.x. (ac52619)
  • Some other minor improvements to singleLinePerProperty. (072664d, bc439e7)

1.2.0

08 Feb 09:38
Compare
Choose a tag to compare
  • Added selectorNaming linter. (94639fa)
  • Reporters now require a report method, and the old use is now deprecated. (72263bc)
  • Fixed an issue where nested media queries would be erroneously reported by singleLinePerProperty. (3f251e1)
  • Fixed an issue where declarations without a semicolon would erroneously trigger singleLinePerProperty. (3f251e1)

1.1.0

08 Feb 09:38
Compare
Choose a tag to compare
  • Replaced our Less parser, gonzales-pe, with our own fork to solve various parsing issues. (a31a790)
  • Byte order marks are now stripped from config files. (9d2721e)
  • New test suite, using Chai and Gulp. (7915ac5, 44a367c)
  • Updated dependencies. (fc714bd, 62f3d72)

1.0.1

08 Feb 09:37
Compare
Choose a tag to compare
  • Fixed an issue where local variable declarations would crash propertyUnits. (06bee99)
  • Fixed an issue where importPath wouldn't check url() statements. (91cf906)
  • Fixed an issue where urlQuotes wouldn't check @import url() statements. (a038ec5)
  • Fixed issues where singleLinePerProperty wouldn't check mixins, variables, and detached rulesets. (ae16888)
  • Fixed incorrect checking of absolute URLs in importPath. (2709dc9, 0756cba)

1.0.0

08 Feb 09:37
Compare
Choose a tag to compare
  • Complete linter refactor. (92bb70a)
  • Merged spaceAfterComma and spaceBeforeComma into spaceAroundComma (28497b0).
  • Merged leadingZero and trailingZero into decimalZero (12d34a5).
  • Removed the quote style option from attributeQuotes. (c0b229e)
  • The comment linter is now disabled by default. (c93121f)
  • The default value for zeroUnit is now keep_unit. (0c9ef81)
  • The following changes has been made to propertyUnits: (8b85210)
    • Renamed global to valid.
    • Added an invalid option.
  • Lint results are now sorted by line and column numbers. (50d223f)
  • Better handling of parse errors, they are now returned together with the lint results. (f6efb3c)
  • Updated gonzales-pe to 3.x. (ac47970, 9cba245)
  • Updated other dependencies. (acb5e10, fcdf05d)

0.9.4

08 Feb 09:37
Compare
Choose a tag to compare
  • Fix for bad 0.9.3.

0.9.3

08 Feb 09:36
Compare
Choose a tag to compare
  • Fixed an issue where propertyOrdering would try to check variables and crash.

0.9.2

08 Feb 09:36
Compare
Choose a tag to compare
  • Fixed an issue where spaceBeforeBrace wouldn't check @media queries. Props @kokarn. (#61).
  • Fixed an issue where finalNewline would fail on empty files.
  • Fixed an issue where trailingWhitespace would fail on empty files.

0.9.1

08 Feb 09:36
Compare
Choose a tag to compare
  • Fixed an issue in propertyOrdering where identical properties weren't handled correctly (#59).
  • Fixed an issue in idSelector where it would sometimes crash.
  • Fixed error message language in urlQuotes Props @shellscape. (#60).

0.9.0

08 Feb 09:35
Compare
Choose a tag to compare
  • lesshint now reports Less parse errors. Props @shellscape. (#46, #47).
  • All reporters now receive a severity property with the values error for parse errors and warning for rule violations. This feature will be developed further in future releases.
  • A propertyOrdering linter has been added. Props @srogers202. (#48)
  • Fixed an issue where spaceBeforeComma and spaceAfterComma would erroneously report on all operators. (#49).
  • Fixed an issue where singleLinePerProperty would erroneously report lines with trailing comments. Props @CITguy. (#54).
  • Fixed an issue where attributeQuotes would erroneously report on boolean attributes. Props @CITguy. (#54).
  • Fixed message grammar in singleLinePerSelector (#42).