Changelog
3.1.1 (2017-03-27)
finalNewline
would report the wrong position when double \n
characters were used. (d234a20)spaceAroundOperator
would erroneously report numbers surrounded by parentheses. (98953c0)urlQuotes
would erroneously report variables. (4508e81)gulp-mocha
to 4.x
. (7f392ee)istanbul
with nyc
. (92d59f8)sinon
to 2.x
. (f94cae6)singleLinePerProperty
example config typo. (5acc9d7)README
. (bc6cc3e)Changelog
3.0.0 (2017-02-08)
Lesshint
class. (5013aae)Promise
s returned from Lesshint
methods are now native ones instead of Vow
. (afda593)lesshint
will now throw an error. (63d258)Lesshint.getConfig()
method to search for config files using lesshint
's logic. (7850cbf)Runner
class has been added, exposing the full CLI API to Node consumers. (7c9e76a)excludedFiles
will now be checked on all paths before lesshint
tries to access them. (7bc3ab2)fullPath
property in linting results will now always be a full, absolute path. (dab57d4)process.cwd()
. (6f2b5d9)exit
module with process.exitCode
. (004ae71)-1
to the --max-warnings
flag is no longer supported. Simply omit the flag for the same behavior. (f8473d1)postcss-values-parser
was updated to 1.1.0
. (a91aabb)engines
field to package.json
. (a62da86)lesshint
binary. (2a16a17)Changelog
2.2.0 (2016-10-27)
true
. (5071ce9)lesshint
fails for some reason, the currently checked file is now included in the output. (b783f9c)duplicateProperty
would erroneously report properties using the Less merge feature. (317a7af)newlineAfterBlock
would give false positives with lines containing trailing whitespace.
(ed2c9f6)stringQuotes
would erroneously report some at-rules. (5f1a2b6)Changelog
2.1.1 (2016-09-11)
newlineAfterBlock
with nested blocks. (e64c360)singleLinePerSelector
would report the same selector multiple times. (507e89)spaceBeforeBrace
where indented blocks would be erroneously reported with the new_line
setting. (45d166e)spaceBeforeBrace
where the one_space
option would erroneously allow other spaces than just a single one. (45d166e)spaceBeforeComma
setting in the default config. (d7bb4f6)Changelog
2.1.0 (2016-09-02)
maxCharPerLine
linter. (af69e95)newlineAfterBlock
linter. (05d48e1)stringQuotes
wouldn't check at-rules. (aaf1d84)spaceBetweenParens
would report the wrong line. (fa6ff41)lesshint
from custom code. (0a87b24)