Releases: lesshint/lesshint
Releases · lesshint/lesshint
1.3.0
- Added the following linters:
spaceAroundOperator
(ac689c7)
- 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
- 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
1.0.1
- Fixed an issue where local variable declarations would crash
propertyUnits
. (06bee99) - Fixed an issue where
importPath
wouldn't checkurl()
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
- Complete linter refactor. (92bb70a)
- Merged
spaceAfterComma
andspaceBeforeComma
intospaceAroundComma
(28497b0). - Merged
leadingZero
andtrailingZero
intodecimalZero
(12d34a5). - Removed the quote style option from
attributeQuotes
. (c0b229e) - The
comment
linter is now disabled by default. (c93121f) - The default value for
zeroUnit
is nowkeep_unit
. (0c9ef81) - The following changes has been made to
propertyUnits
: (8b85210)- Renamed
global
tovalid
. - Added an
invalid
option.
- Renamed
- 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
to3.x
. (ac47970, 9cba245) - Updated other dependencies. (acb5e10, fcdf05d)
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
lesshint
now reports Less parse errors. Props @shellscape. (#46, #47).- All reporters now receive a
severity
property with the valueserror
for parse errors andwarning
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
andspaceAfterComma
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).