- Fixed: missing
funding
field inpackage.json
.
- Removed:
stylelint
less than16.1.0
from peer dependencies. - Added:
lightness-notation: "percentage"
rule.
- Removed:
stylelint
less than16.0.0
from peer dependencies. - Removed: Node.js less than
18.12.0
support. - Changed: updated to
[email protected]
.
- Removed:
stylelint
less than15.10.0
from peer dependencies - Changed: updated to
[email protected]
.
- Removed:
stylelint
less than15.5.0
from peer dependencies. - Changed: updated to
[email protected]
. - Changed: restored
declaration-block-single-line-max-declarations
removed on30.0.0
.
- Removed:
stylelint
less than15.4.0
from peer dependencies. - Added:
media-feature-range-notation: "context"
rule.
- Removed:
stylelint
less than15.3.0
from peer dependencies. - Changed: updated to
[email protected]
.
- Fixed: updated to
[email protected]
.
- Removed:
stylelint
less than15.0.0
from peer dependencies. - Removed: 64 rules deprecated in
[email protected]
. For details, see the migration guide. - Fixed:
length-zero-no-unit
to ignore custom properties. - Fixed:
value-no-vendor-prefix
to ignore-webkit-inline-box
.
- Removed:
stylelint
less than14.14.0
from peer dependencies. - Changed:
import-notation
to be"url"
. - Added: custom parameter messages to
*-pattern
rules. - Fixed:
value-no-vendor-prefix
to ignore-webkit-box
.
- Removed:
stylelint
less than14.11.0
from peer dependencies. - Changed:
alpha-value-notation
to be"number"
for SVG*-opacity
properties.
- Removed:
stylelint
less than14.10.0
from peer dependencies. - Changed: updated to
[email protected]
. - Added:
keyframe-selector-notation
rule.
- Removed:
stylelint
less than14.9.0
from peer dependencies. - Changed: updated to
[email protected]
. - Added:
import-notation
rule. - Added:
selector-not-notation
rule.
- Removed:
stylelint
less than14.4.0
from peer dependencies. - Changed: updated to
[email protected]
.
- Changed:
alpha-value-notation
to be"number"
foropacity
property.
This release adds over a dozen new rules.
If needed, you can extend the config to turn off or lower the severity of any of the new rules.
We recommend using Autoprefixer to automatically prefix your at-rules, properties, selectors and values.
- Removed:
stylelint
less than14.0.0
from peer dependencies. - Changed: updated to
[email protected]
. - Added:
alpha-value-notation
rule. - Added:
at-rule-no-vendor-prefix
rule. - Added:
color-function-notation
rule. - Added:
custom-media-pattern
rule. - Added:
custom-property-pattern
rule. - Added:
declaration-block-no-redundant-longhand-properties
rule. - Added:
font-family-name-quotes
rule. - Added:
function-url-quotes
rule. - Added:
hue-degree-notation
rule. - Added:
keyframes-name-pattern
rule. - Added:
max-line-length
rule. - Added:
media-feature-name-no-vendor-prefix
rule. - Added:
no-empty-first-line
rule. - Added:
no-irregular-whitespace
rule. - Added:
number-max-precision
rule. - Added:
property-no-vendor-prefix
rule. - Added:
selector-attribute-quotes
rule. - Added:
selector-class-pattern
rule. - Added:
selector-id-pattern
rule. - Added:
selector-no-vendor-prefix
rule. - Added:
shorthand-property-no-redundant-values
rule. - Added:
string-quotes
rule. - Added:
value-no-vendor-prefix
rule.
- Removed:
stylelint
less than13.13.0
from peer dependencies. - Changed: updated to
[email protected]
.
- Removed:
stylelint
less than13.12.0
from peer dependencies. - Changed: updated to
[email protected]
.
- Added:
value-keyword-case
rule.
- Removed:
stylelint
< 10.1.0 from peer dependencies.[email protected]+
is required now. - Changed: updated to
[email protected]
.
- Added:
stylelint@10
to peer dependency range.
- Added:
[email protected]
as dependency
- Added:
stylelint@9
to peer dependency range.
- Changed: updated to
[email protected]
.
- Changed: now extends
stylelint-config-recommended
, which turns on theat-rule-no-unknown
rule. Therefore, if you use non-standard at-rules, like those introduced in SCSS and Less (e.g.@extends
,@includes
etc), be sure to extend the config and make use ofat-rule-no-unknown
'signoreAtRules: []
secondary option.
- Changed: replaced the deprecated
rule-nested-empty-line-before
andrule-non-nested-empty-line-before
rules with therule-empty-line-before
rule.
- Fixed: URLs to stylelint rules within README.
- Removed:
declaration-block-no-ignored-properties
rule. - Removed:
media-feature-no-missing-punctuation
rule. - Removed:
selector-no-empty
rule. - Added:
font-family-no-duplicate-names
rule.
- Added:
selector-no-empty
rule.
- Fixed: the
ignore: ["consecutive-duplicates-with-different-values"
optional secondary option was wrongly assigned todeclaration-block-no-ignored-properties
.
- Fixed:
declaration-block-no-duplicate-properties
now uses theignore: ["consecutive-duplicates-with-different-values"
optional secondary option.
- Added:
declaration-block-no-duplicate-properties
rule. - Added:
declaration-block-no-redundant-longhand-properties
rule. - Added:
media-feature-name-no-unknown
rule. - Added:
property-no-unknown
rule. - Added:
selector-descendant-combinator-no-non-space
rule. - Added:
value-list-max-empty-lines
rule.
- Changed:
at-rule-empty-line-before
now uses theblockless-after-same-name-blockless
except
option, rather than theblockless-group
one. - Added:
block-closing-brace-empty-line-before
rule. - Added:
comment-no-empty
rule. - Added:
custom-property-empty-line-before
rule. - Added:
declaration-empty-line-before
rule. - Added:
media-feature-name-case
rule. - Added:
rule-nested-empty-line-before
rule.
- Removed:
at-rule-no-unknown
rule. - Removed:
media-feature-parentheses-space-inside
rule. - Removed:
no-missing-eof-newline
rule. - Changed:
indentation
no longer uses theindentInsideParens: "once"
option, as this is the default behaviour in[email protected]
. - Added:
media-feature-parentheses-space-inside
rule. - Added:
no-missing-end-of-source-newline
rule.
- Changed:
indentation
now uses theindentInsideParens: "once"
option. - Added:
at-rule-no-unknown
rule. - Added:
no-empty-source
rule.
- Removed:
number-zero-length-no-unit
rule. - Added:
length-zero-no-unit
rule.
- Added:
keyframe-declaration-no-important
rule. - Added:
selector-pseudo-class-no-unknown
rule. - Added:
selector-type-no-unknown
rule.
- Added:
at-rule-name-space-after
rule. - Added:
function-max-empty-lines
rule. - Added:
no-extra-semicolons
rule. - Added:
selector-attribute-brackets-space-inside
rule. - Added:
selector-attribute-operator-space-after
rule. - Added:
selector-attribute-operator-space-before
rule. - Added:
selector-max-empty-lines
rule. - Added:
selector-pseudo-class-parentheses-space-inside
rule. - Added:
selector-pseudo-element-no-unknown
rule. - Added:
shorthand-property-no-redundant-values
rule.
- Added:
at-rule-name-case
rule. - Added:
at-rule-semicolon-newline-after
rule. - Added:
function-name-case
rule. - Added:
property-case
rule. - Added:
selector-pseudo-class-case
rule. - Added:
selector-pseudo-element-case
rule. - Added:
selector-type-case
rule. - Added:
unit-case
rule. - Added:
unit-no-unknown
rule.
- Removed:
font-family-name-quotes
,function-url-quotes
andstring-quotes
rules. - Added:
declaration-block-no-ignored-properties
rule.
- Fixed: include peerDependencies in
package.json
to expose compatibility.
- Removed:
stylelint < 4.5.0
compatibility. - Added:
font-family-name-quotes
rule with"double-where-recommended"
option. - Added:
function-linear-gradient-no-nonstandard-direction
rule. - Added:
media-feature-no-missing-punctuation
rule. - Added:
no-invalid-double-slash-comments
rule. - Added:
string-no-newline
rule.
- Changed: first-nested at-rules now behave the same as first-nested comments i.e. they can no longer be preceded by an empty line.
- Changed: first-nested comments can no longer be preceded by an empty line.
- Fixed:
comment-empty-line-before
now ignoresstylelint
command comments.
- Fixed: more forgiving empty lines rules when comments are present i.e. the
rule-non-nested-empty-line-before
andat-rule-empty-line-before
now make use of theignore: ["after-comment"]
option.
- Added:
block-no-empty
rule.
- Initial release