Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lesshint

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lesshint - npm Package Versions

1
10

3.1.1

Diff

Changelog

Source

3.1.1 (2017-03-27)

  • Fixed an issue where finalNewline would report the wrong position when double \n characters were used. (d234a20)
  • Fixed an issue where spaceAroundOperator would erroneously report numbers surrounded by parentheses. (98953c0)
  • Made sure internal error classes can handle both strings and error objects. (2a8a52a)
  • Fixed an issue where urlQuotes would erroneously report variables. (4508e81)
  • Updated gulp-mocha to 4.x. (7f392ee)
  • Replaced istanbul with nyc. (92d59f8)
  • Updated sinon to 2.x. (f94cae6)
  • Fixed an singleLinePerProperty example config typo. (5acc9d7)
  • Added a more prominent way to access rule docs from the README. (bc6cc3e)
jwilsson
published 3.1.0 •

Changelog

Source

3.1.0 (2017-02-16)

  • Added a variableValue linter. (1a9d48d)
  • Added a universalSelector linter. (781e372)
  • Fixed an issue where spaceAroundComma would crash on stray commas. (37aaa9a)
  • Fixed faulty line reporting issues in:
jwilsson
published 3.0.1 •

Changelog

Source

3.0.1 (2017-02-10)

  • Lockdown postcss-values-parser to ~ range. (7e03dbc)
jwilsson
published 3.0.0 •

Changelog

Source

3.0.0 (2017-02-08)

  • Breaking Dropped support for Node < 4. (7a142ee)
  • Breaking The public Node API now exposes multiple classes instead of just the Lesshint class. (5013aae)
  • Breaking All Promises returned from Lesshint methods are now native ones instead of Vow. (afda593)
  • Breaking Whenever an inaccessible file is encountered, lesshint will now throw an error. (63d258)
  • Added a Lesshint.getConfig() method to search for config files using lesshint's logic. (7850cbf)
  • A complete ES6 rewrite was performed. (879160f)
  • A new 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)
  • The fullPath property in linting results will now always be a full, absolute path. (dab57d4)
  • Relative custom linter paths will now be resolved against process.cwd(). (6f2b5d9)
  • The default reporter can now be explicitly required. (587c215)
  • Replaced use of the exit module with process.exitCode. (004ae71)
  • Passing -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)
  • A huge documentation refresh. (3addaf0)
  • Added the engines field to package.json. (a62da86)
  • Added tests for the lesshint binary. (2a16a17)
jwilsson
published 2.4.0 •

Changelog

Source

2.4.0 (2016-12-14)

  • Added a allowSingleLineRules option to singleLinePerProperty. (52879a7)
  • Added a position field to results. (6292387)
  • Test console spies are now restored before doing assertions. (00f2f1d)
  • Added issue and PR templates. (33f767d)
  • Fixed a "there's"/"there are" typo in the README. (31e5eb3)
jwilsson
published 2.3.0 •

Changelog

Source

2.3.0 (2016-11-29)

  • Added a -x/--max-warnings CLI flag. (21e184d)
  • Added a JSON reporter. (a69bdee)
  • Reporters can now also be objects and not just file paths. (376940c)
  • Fixed a "is"/"are" typo in the README. (282fdea)
jwilsson
published 2.2.1 •

Changelog

Source

2.2.1 (2016-10-30)

  • Fixed a newlineAfterBlock regression from 2.2.0. (117a2b5)
jwilsson
published 2.2.0 •

Changelog

Source

2.2.0 (2016-10-27)

  • Rules without any options can now be enabled by just setting it to to true. (5071ce9)
  • Invalid inline rules are now properly reported. (df2fcac)
  • When lesshint fails for some reason, the currently checked file is now included in the output. (b783f9c)
  • Fixed an issue where duplicateProperty would erroneously report properties using the Less merge feature. (317a7af)
  • Fixed an issue where newlineAfterBlock would give false positives with lines containing trailing whitespace. (ed2c9f6)
  • Fixed an issue stringQuotes would erroneously report some at-rules. (5f1a2b6)
  • Fixed a typo in the "Unknown error" output. (059e162)
  • Fixed a typo in the CLI flags documentation. (a77fca0)
jwilsson
published 2.1.1 •

Changelog

Source

2.1.1 (2016-09-11)

  • Fixed a false positive in newlineAfterBlock with nested blocks. (e64c360)
  • Fixed an issue where singleLinePerSelector would report the same selector multiple times. (507e89)
  • Fixed an issue in spaceBeforeBrace where indented blocks would be erroneously reported with the new_line setting. (45d166e)
  • Fixed an issue in spaceBeforeBrace where the one_space option would erroneously allow other spaces than just a single one. (45d166e)
  • Removed old spaceBeforeComma setting in the default config. (d7bb4f6)
jwilsson
published 2.1.0 •

Changelog

Source

2.1.0 (2016-09-02)

  • Added maxCharPerLine linter. (af69e95)
  • Added newlineAfterBlock linter. (05d48e1)
  • Fixed an issue where stringQuotes wouldn't check at-rules. (aaf1d84)
  • Fixed an issue where spaceBetweenParens would report the wrong line. (fa6ff41)
  • Added tests for failing linter plugins. (02aeef0)
  • Added some examples on how to use lesshint from custom code. (0a87b24)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc