Releases: sds/scss-lint
Releases · sds/scss-lint
SCSS-Lint 0.51.0
Minor changes with a gem dependency constraint relaxation.
- Add
contain
to list of properties allowed byPropertySpelling
- Fix
DuplicateProperty
to report duplicate properties inside media queries - Relax gem dependency constraints to allow rake 12.x
SCSS-Lint 0.50.3
A bug fix release.
- Add outline, flexbox, background clip, attachment, word-wrap, and work-break
properties toconcentric
PropertySort
sort order - Add background clip and attachment properties to
recess
PropertySort
sort order - Fix
SpaceAfterComment
handling of consecutive comments - Fix
SpaceBeforeBrace
to check@if
/@else
statements - Fix
ZeroUnit
to not report zero values with units incalc
expressions - Fix detection of control comments when
scss-lint:enable
is used - Fix
Comment
linter message when usingloud
style comments
SCSS-Lint 0.50.2
A hotfix release to disable a linter that should not have been enabled by default.
- Fix default
style
configuration forSpaceAfterComment
toone_space
and to be disabled by default
SCSS-Lint 0.50.1
A hotfix release for a bug introduced in 0.50.0.
- Fix regression in
scss_files
option processing where option was ignored
SCSS-Lint 0.50.0
New Features
- Add
SpaceAfterComment
which checks for spacing after comment literal
Changes
- Drop support for Ruby 1.9.3
Shorthand
linter will now forbid the use of shorthand properties ifallowed_shorthands
option is set to an empty list- Change Rake task to respect
scss_files
option if no explicit files are specified
Bug Fixes
- Fix
scss_files
option to accept an array of patterns - Fix
--exclude-linter
flag - Fix
ColorKeyword
linter to allow color keywords to be used as arguments inmap-*
-related function calls - Fix
SpaceAfterComma
linter to report correct column number - Fix
PrivateNamingConvention
to consider functions/mixins used inside other functions/mixins - Fix
Shorthand
to not report shorthanded values with!important
as having a shorthand length not specified inallowed_shorthands
- Fix
UnnecessaryMantissa
to ignore decimal values in URL literals - Fix
PlaceholderInExtend
to report comma sequences starting with a placeholder - Fix
StringQuotes
linter to ignore@charset
directives since they must always use double quotes
SCSS-Lint 0.49.0
New Features
- Add
background-clip
andclip
tosmacss
preset sort order - Add
LengthVariable
linter for reporting when variables should be used
instead of literal lengths
Changes
- Increase minimum required
sass
gem version to 3.4.20+ - Modify
Shorthand
linter to report lint if a shorthand of a length not
specified in theallowed_shorthands
option is used - Ignore SCSS functions in
NameFormat
linter - Update default formatter to output column number in addition to line number
- Wrap
@
-declaratives in backticks in lint messages
Bug Fixes
- Fix
PropertySortOrder
separate_groups
option to work for preset sort
orders - Fix
TrailingZero
to report correct lint messages for values with multiple
trailing zeros
SCSS-Lint 0.48.0
Includes the new Stats
formatter and allows you to install alongside the new 11.x series of the rake
gem.
- Relax
rake
gem dependency to allow 11.x.x versions - Add
linear-gradient
toNameFormat
whitelist - Fix
DisableLinterReason
not reporting inline disable comments on a line
following a comment line - Add
Stats
--format
option to output list of linter types ordered by
the number of occurrences
SCSS-Lint 0.47.1
This minor release fixes issues with the TAP reporter.
- Consider list literals in values checked by
DuplicateProperty
linter - Fix TAP reporter to correctly parse list of files
- Remove unnecessary nesting from TAP reporter output
- Add linter name to TAP YAML output
SCSS-Lint 0.47.0
This release includes the ability to preprocess your SCSS files before running scss-lint
against their contents.
- Fix
PrivateNamingConvention
to handle files that begin with comments - Fix TAP reporter format
- Add support for preprocessing source files via the
preprocess_command
option
SCSS-Lint 0.46.0
A minor release with a new linter and support for the TAP output format.
- Add
ignore_consecutive
option to theDuplicateProperty
linter, allowing
duplicate consecutive properties. It acceptstrue
,false
, or a list of
property names to be ignored. - Add
PrivateNamingConvention
linter which enforces that functions, mixins,
and variables that follow the private naming convention (default to
underscore-prefixed) are defined and used within the same file - Add TAP (Test Anything Protocol) formatter