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

0.9.0

Diff

Changelog

Source

0.9.0 (2015-08-31)

  • 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).
jwilsson
published 0.8.0 •

Changelog

Source

0.8.0 (2015-08-16)

  • This release contains possible breaking changes. Check this list before updating.
  • Support for custom reporters has been added. This enables users to do whatever they want with the lint results, not just log it to the console.
  • Added the following linters:
    • singleLinePerProperty
    • singleLinePerSelector
    • trailingWhitespace
  • The Less AST passed to each linter is now frozen to prevent accidental modifying by a linter.
  • All linters now returns the complete source of each offending line.
  • Linters are no longer passed a filename.
jwilsson
published 0.7.1 •

Changelog

Source

0.7.1 (2015-08-05)

  • Fixed an issue where Windows line endings in the Less source would cause the wrong line to be reported (#28).
jwilsson
published 0.7.0 •

Changelog

Source

0.7.0 (2015-06-24)

  • lesshint has a new home: https://github.com/lesshint/lesshint
  • Added the following linters
    • importPath
    • propertyUnits
    • spaceAfterComma
    • spaceBeforeComma
    • spaceBetweenParens
  • Updated gonzales-pe dependency, adding support for all forms of :extend().
  • Added the possibility to exclude files. See the excludedFiles option and -e/--exclude flags.
  • Added the possibility to specify which file extensions to check, see the fileExtensions option.
  • Fixed an issue where lesshint wouldn't report any more errors when the parser encountered a problem.
  • Fixed an issue where hexNotation would report hex codes with invalid characters.
  • Fixed an issue where spaceAfterPropertyValue wouldn't report multiple errors in the same block.
jwilsson
published 0.7.0-beta3 •

jwilsson
published 0.7.0-beta2 •

jwilsson
published 0.7.0-beta •

jwilsson
published 0.6.2 •

Changelog

Source

0.6.2 (2015-06-01)

  • Stopped hexLength and hexNotation from reporting on invalid hex colors.
jwilsson
published 0.6.1 •

Changelog

Source

0.6.1 (2015-05-28)

  • Lock gonzales-pe dependency to stop things from breaking due to changes there.
jwilsson
published 0.6.0 •

Changelog

Source

0.6.0 (2015-05-27)

  • Added the following linters:
    • qualifyingElement
    • spaceAfterPropertyValue
  • Fixed an issue where trailingSemicolon would fail when a space was preceding the semicolon.
  • Fixed an issue where hexNotation would incorrectly report colors with only numbers.
  • Fixed an issue in idSelector due to a changed AST from gonzales-pe.
  • The detached rulesets feature of Less is now supported thanks to a upstream patch in gonzales-pe.
  • Increased test coverage.
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