Releases: sasstools/sass-lint
Releases · sasstools/sass-lint
The revert
v1.13.0
v1.12.1
v1.12.0
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
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
v1.10.2
v1.10.1
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
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 newno-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-link
ed 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
v1.9.0
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