Skip to content

The 'you can ignore those bad habits again' update

Compare
Choose a tag to compare
@DanPurdy DanPurdy released this 06 Nov 16:05
· 119 commits to master since this release

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