Skip to content

Releases: sasstools/sass-lint

The revert

26 Apr 10:12
Compare
Choose a tag to compare

more information here but essentially 1.13.0 was mistakenly released and should have been a major version update due to many breaking changes.

1.13.1 is almost EXACTLY the same as 1.12.1

v1.13.0

25 Apr 22:11
Compare
Choose a tag to compare

1.13.0 (2019-04-25)

Bug Fixes

  • ci: rollback release version to match npm (bf4f2ae)

Features

  • ast: migrate from ast fork to latest version of gonzales (37863b7)
  • lint: adds disable-next-line (b508036)

v1.12.1

17 Oct 07:28
Compare
Choose a tag to compare

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

v1.12.0

03 Oct 00:27
Compare
Choose a tag to compare

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

v1.11.0

27 Aug 19:49
Compare
Choose a tag to compare

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

v1.10.2

09 Nov 09:44
Compare
Choose a tag to compare

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

v1.10.1

07 Nov 15:42
Compare
Choose a tag to compare

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 #937
  • 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

The 'you can ignore those bad habits again' update

06 Nov 16:05
Compare
Choose a tag to compare

v1.10.0

November 6th, 2016

The 'you can ignore those bad habits again' update

🎉 DISABLE LINTERS 🎉
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

v1.9.1

25 Aug 17:23
Compare
Choose a tag to compare
Merge pull request #844 from sasstools/release/1.9.1

Release/1.9.1

v1.9.0

18 Aug 09:31
Compare
Choose a tag to compare

v1.9.0

August 18, 2016

Fixes

  • Fixed an issue with the indentation rule when it encountered at-rules with no block immediately preceding a map #779 #783
  • Fixed an issue in single-lint-per-selector where inline comments were seen as selectors #789
  • Fixed an issue with interpolation in placeholders within the bem-depth rule #782
  • Removed duplicated code from no-mergeable-selectors to helper methods

Documentation

  • Fixed typos in no-vendor-prefixes rule documentation #787
  • Added link to Visual Studio extension #815

New Rules

  • Added the no-color-hex rule to disallow all hexadecimal colour definitions #754

Updates

  • Gonzales-pe updated to version 3.4.4 which fixes a lot of longstanding issues see the Changelog