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
810

0.5.1

Diff

Changelog

Source

0.5.1 (2015-05-19)

  • Fixed issues with hexLength, hexNotation, and hexValidation where they wouldn't check for hex colors outside declarations (in variables for example) (#28).
jwilsson
published 0.5.0 •

Changelog

Source

0.5.0 (2015-05-17)

  • Added the following linters:
    • attributeQuotes
    • comment
    • leadingZero
    • trailingZero
    • zeroUnit
  • Added an exclude option to the following linters:
    • duplicateProperty
    • idSelector
  • The stringQuotes linter now checks strings everywhere, not just in rulesets.
jwilsson
published 0.4.1 •

Changelog

Source

0.4.1 (2015-05-11)

  • Fixed two issues with urlFormat and urlQuotes where they would incorrectly report errors when the URLs were surrounded by spaces (#22).
jwilsson
published 0.4.0 •

Changelog

Source

0.4.0 (2015-05-10)

  • Breaking change: The LessHint class is now called Lesshint.
  • The following linters have been added:
    • importantRule
    • stringQuotes
    • urlFormat
    • urlQuotes
  • All linters can now be disabled by simply setting the respective property to false. No need to set enabled: false anymore.
  • Some other improvements to the linters.
jwilsson
published 0.3.1 •

Changelog

Source

0.3.1 (2015-05-03)

  • When running from the CLI and a line or column is null, it's no longer printed.
  • Fixed an issue where the only error reported was a missing final newline.
  • Fixed an issue that prevented errors on the last ruleset from being shown when a final newline was missing.
  • Fixed an issue where emptyRule would incorrectly report errors on rules that only contain a mixin (#16).
  • Fixed an issue where trailingSemicolon would fail on an empty rule.
  • Fixed an issue where trailingSemicolon would incorrectly report errors in rules containing variables inside @media directives (#15).
jwilsson
published 0.3.0 •

Changelog

Source

0.3.0 (2015-05-01)

  • Added the following linters:
    • duplicateProperty
    • emptyRule
    • finalNewline
    • idSelector
    • trailingSemicolon
  • Better error messages, the property or value that caused the error are now more clearly described.
  • Internal code cleanup.
jwilsson
published 0.2.0 •

Changelog

Source

0.2.0 (2015-04-27)

  • Added the following linters:
    • borderZero
    • hexLength
    • hexNotation
    • hexValidation
    • spaceAfterPropertyName
  • lesshint will now exit with proper status codes. E.g. 1 when there's a lint error in a checked file, thus failing builds etc.
  • Made some improvements to CLI output, added colors and made it easier to read.
  • Fixed an issue where the spaceBeforeBrace linter would report the wrong column when style is one_space (#4).
jwilsson
published 0.1.5 •

Changelog

Source

0.1.5 (2015-04-24)

  • The default options are now always loaded, regardless if lesshint is running from the CLI or another module.
  • If no files are passed via the CLI, an error is now printed.
  • When something's wrong with a passed config file, the error message from JSON.parse() is also shown.
jwilsson
published 0.1.4 •

Changelog

Source

0.1.4 (2015-04-20)

  • Fixed incorrect dependency name.
jwilsson
published 0.1.3 •

Changelog

Source

0.1.3 (2015-04-20)

  • Fixed some issues where the default config wasn't properly loaded.
  • Fixed an issue when the CLI was passed multiple directories and files, they weren't all linted.
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