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

sass-lint

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-lint - npm Package Versions

234

1.13.1

Diff

srowhani
published 1.13.0 •

danpurdy
published 1.12.1 •

Changelog

Source

v1.12.1

October 17th, 2017

Fixes

  • Temporarily move to our gonzales-pe-sl fork to publish fixes that currently don't exist on the gonzales-pe published version
danpurdy
published 1.12.0 •

Changelog

Source

v1.12.0

October 3rd, 2017

Fixes

  • Fixed an issue with custom properties being flagged in the misspelled-properties rule #1122
  • Fixed an issue where custom properties with colors in their name would be flagged as invalid by no-color-keywords #1124
  • Fixed a crash in empty-line-between-blocks where acessing the content of a parent node of type string would throw an error #1125
  • Functions and custom properties were being incorrectly flagged as invalid within rgba functions for no-color-literals #1127
  • Fixed an incorrect warning in space-after-colon when using @at-root #1129
  • Fixed an issue where interpolation was incorrectly flagging within the class-name-format rule #1131

New Features

  • Rollup.js integration added to integration list
  • Added an npmignore to remove unnecessary dev files from a sass-lint install / release #1132
  • Added basic support for a .sasslintrc json config file #1135
  • Added two new options to the variable-for-property rule - allow-map-get & allowed-functions - #1128
bgriffith
published 1.11.1 •

Changelog

Source

v1.11.1

August 28th, 2017

Fixes

  • Fixed an issue with the misspelled-properties rule incorrectly reporting nested properties #1113
bgriffith
published 1.11.0 •

Changelog

Source

v1.11.0

August 27th, 2017

New Features

  • The trailing-semicolon rule now checks for double semicolons #1107

Changes

  • Updated gonzales-pe parser to use version 4.1.1
  • The no-empty-rulesets rule now flags rulesets that contain only comments #998
  • The misspelled-properties rule now uses the known-css-properties to validate properties.
  • The zero-unit rule now considers the % unit #1103

Fixes

  • Fixed a fatal error with the space-after-bang rule #1108
  • Fixed an issue where line numbers were incorrect when using front-matter #1060
  • Fixed an issue with the misspelled-properties rule incorrectly reporting multiline properties #1106
danpurdy
published 1.10.2 •

Changelog

Source

v1.10.2

November 9th, 2016

Changes

  • Reverted back to ESlint v2.x to prevent a breaking change in Node < v4

Fixes

  • Fixed an exception for partial idents in space-around-operator #940
  • Fixed an issue with negative numbers in space-around-operator #945
danpurdy
published 1.10.1 •

Changelog

Source

v1.10.1

November 7th, 2016

Fixes

  • Fixed an issue with the --no-exit -q flag not being respected and unhandled errors/exceptions being thrown by the CLI
  • Fixed an issue with variable declarations showing as properties in the no-duplicate-properties rule #937
  • Fixed an issue with variable declarations showing as properties in the declarations-before-nesting rule #937
danpurdy
published 1.10.0 •

Changelog

Source

v1.10.0

November 6th, 2016

The 'you can ignore those bad habits again' update

** :tada: DISABLE LINTERS :tada: ** The ability to enable and disable linters on the fly has finally(!) been added #677 docs

A massive thank you to everyone who commented/contributed/reported and tested this feature this was very much a community effort here. An extra special thank you to

For his initial hard work in getting this off the ground. There were lots of others who have fixed everything from test issues to AST issues to make this possible afterwards, so thanks to you too!

New Features

  • max-warnings which is available with the sass-lint CLI is now available as an option in your config file too #857
  • New Rule no-url-domains rule #846 docs
  • New Rule max-line-length rule was added #840 docs
  • New Rule max-file-line-count rule was added #842 docs
  • New Rule declarations-before-nesting rule was added #866 docs

Fixes

  • Fixed an issue with an un handled error being thrown in certain circumstances for the space-before-colon rule #894
  • Operators in variable names are now handled correctly for the variable-name-format rule #903
  • Fixed an issue with string values in the shorthand-values rule #848
  • Fixed an issue with valid strict BEM producing an error in the *-name-format rules #892
  • Fixed an issue with non-string user conventions in the border-zero rule #913
  • Fixed an issue where BOM markers in files were causing parse errors or random errors/warnings #893
  • Fixed an issue with interpolates properties in the no-duplicate-properties rule #915
  • Fixed a possible error with invalid user conventions in the border-zero rule #926

Changes

  • Node 0.10 and 0.12 are no longer officially supported by sass-lint. We've not deliberately broken these builds but we will no longer be testing against them either #896 & #924
  • In future the no-url-protocols rule will not lint domains in URL's for now a new flag is added to mimic this behaviour. The new no-url-domains rule can be used instead #813
  • Front matter such as those present in Jekyll templates will now be ignored in all files before passing to the AST / Linting 897
  • Running the tests no longer required sass-lint development to be npm-linked or globally installed. #911
  • The concentric property list in property-sort-order was updated to reflect the latest release #922

Updates

  • AST fixes have arrived with version 3.4.7 of gonzales-pe #906
  • Updated to the latest versions of many other packages

Documentation

  • The documentation around configuring a rule was tidied up and made clearer #910

Special thanks to

danpurdy
published 1.9.1 •

Changelog

Source

v1.9.1

August 25, 2016

Fixes

  • Fixed an issue with nth selectors in the no-mergeable-selectors rule #834
  • Fixed an issue with atrule arguments containing functions in the no-mergeable-selectors rule #826
  • Fixed an issue with hex colors being ignored in the shorthand-values rule #836
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