stylelint/stylelint
### [`v13.6.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1361)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.6.0...13.6.1)
- Fixed: `max-empty-lines` TypeError from inline comment with autofix and sugarss syntax ([#4821](https://togithub.com/stylelint/stylelint/pull/4821)).
- Fixed: `property-no-unknown` false positives for namespaced variables ([#4803](https://togithub.com/stylelint/stylelint/pull/4803)).
- Fixed: `selector-type-no-unknown` false positives for idents within `::part` pseudo-elements ([#4828](https://togithub.com/stylelint/stylelint/pull/4828)).
### [`v13.6.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1360)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.5.0...13.6.0)
- Added: `ignoreSelectors[]` to `block-opening-brace-space-before` ([#4640](https://togithub.com/stylelint/stylelint/pull/4640)).
- Fixed: false positives for all scope disables in `--report-invalid-scope-disables` ([#4784](https://togithub.com/stylelint/stylelint/pull/4784)).
- Fixed: TypeError for CSS-in-JS when encountering a call or template expression named 'html' ([#4797](https://togithub.com/stylelint/stylelint/pull/4797)).
- Fixed: writing error information to `stderr` ([#4799](https://togithub.com/stylelint/stylelint/pull/4799)).
- Fixed: minimum node version in `package.json`'s `engine` field ([#4790](https://togithub.com/stylelint/stylelint/pull/4790)).
- Fixed: `alpha-value-notation` number precision errors ([#4802](https://togithub.com/stylelint/stylelint/pull/4802)).
- Fixed: `font-family-no-missing-generic-family-keyword` false positives for variables ([#4806](https://togithub.com/stylelint/stylelint/pull/4806)).
- Fixed: `no-duplicate-selectors` false positives for universal selector and `disallowInList` ([#4809](https://togithub.com/stylelint/stylelint/pull/4809)).
### [`v13.5.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1350)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.4.1...13.5.0)
- Added: `alpha-value-notation` rule ([#4770](https://togithub.com/stylelint/stylelint/pull/4770)).
- Added: `color-function-notation` rule ([#4760](https://togithub.com/stylelint/stylelint/pull/4760)).
- Added: `hue-degree-notation` rule ([#4769](https://togithub.com/stylelint/stylelint/pull/4769)).
### [`v13.4.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1341)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.4.0...13.4.1)
- Fixed: `time-min-milliseconds` TypeError for `ignore: ["delay"]` and shorthand animation ([#4783](https://togithub.com/stylelint/stylelint/pull/4783)).
### [`v13.4.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1340)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.3...13.4.0)
- Added: `ignore:["delay"]` to `time-min-milliseconds` ([#4743](https://togithub.com/stylelint/stylelint/pull/4743)).
- Added: `ignoreFunctions: []` to `value-keyword-case` ([#4733](https://togithub.com/stylelint/stylelint/pull/4733)).
- Fixed: improved performance when auto syntax is used ([#4729](https://togithub.com/stylelint/stylelint/pull/4729)).
- Fixed: `--report-needless-disables` respects stylelint-disable commands ([#4714](https://togithub.com/stylelint/stylelint/pull/4714)).
- Fixed: `at-rule-property-requirelist` TypeError for comments inside of font-face ([#4744](https://togithub.com/stylelint/stylelint/pull/4744)).
- Fixed: `declaration-block-trailing-semicolon` false positives for CSS-in-JS object notation ([#4749](https://togithub.com/stylelint/stylelint/pull/4749)).
- Fixed: `declaration-empty-line-before` false positives for inlines styles ([#4726](https://togithub.com/stylelint/stylelint/pull/4726)).
- Fixed: `media-feature-name-*` false positives for `forced-colors` ([#4775](https://togithub.com/stylelint/stylelint/pull/4775)).
- Fixed: `value-keyword-case` false positives WebExtension replacement keywords ([#4778](https://togithub.com/stylelint/stylelint/pull/4778)).
- Fixed: `value-keyword-case` false positives regression for mixed-case properties and the `ignoreProperties` option ([#4748](https://togithub.com/stylelint/stylelint/pull/4748)).
### [`v13.3.3`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1333)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.2...13.3.3)
- Fixed: autofix will respect scoped disable comments by turning off autofix for the scoped rules for the entire source; this is a continuation of the workaround added in `13.2.0` ([#4705](https://togithub.com/stylelint/stylelint/pull/4705)).
### [`v13.3.2`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1332)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.1...13.3.2)
- Fixed: update postcss-css-in-js with fix for maximum call stack size exceeded error ([#4701](https://togithub.com/stylelint/stylelint/pull/4701)).
### [`v13.3.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1331)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.0...13.3.1)
- Fixed: babel configuration conflict when using TypeScript ([postcss-css-in-js/#2](https://togithub.com/stylelint/postcss-css-in-js/pull/2)).
- Fixed: autofix for nested tagged template literals ([#4119](https://togithub.com/stylelint/stylelint/pull/4119)).
### [`v13.3.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1330)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.2.1...13.3.0)
- Added: `ignoreFontFamilies: []` to `font-family-no-missing-generic-family-keyword` ([#4656](https://togithub.com/stylelint/stylelint/pull/4656)).
- Fixed: `function-calc-no-invalid` false positives for SCSS and Less variables ([#4659](https://togithub.com/stylelint/stylelint/pull/4659)).
- Fixed: `unit-no-unknown` false positives for `x` unit within vendor-prefixed `image-set` ([#4654](https://togithub.com/stylelint/stylelint/pull/4654)).
### [`v13.2.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1321)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.2.0...13.2.1)
- Fixed: `selector-pseudo-element-no-unknown` false positives for `::part` pseudo-element ([#4604](https://togithub.com/stylelint/stylelint/pull/4604)).
- Fixed: `value-keyword-case` false positives for longhand `grid-column/row-*` properties ([#4611](https://togithub.com/stylelint/stylelint/pull/4611)).
### [`v13.2.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1320)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.1.0...13.2.0)
- Security: updated to `postcss-selector-parser@6` due to a vulnerability in one of `postcss-selector-parser@3` dependencies ([#4595](https://togithub.com/stylelint/stylelint/pull/4595)). Due to this update:
- `selector-descendant-combinator-no-non-space` will ignore selectors containing comments
- `selector-pseudo-class-parentheses-space-inside` can't autofix pseudo-classes that contain comments
- Added: `--stdin` CLI flag that accepts stdin input even if it is empty ([#4594](https://togithub.com/stylelint/stylelint/pull/4594)).
- Fixed: autofix will ignore sources containing disable comments or nested tagged template literals - this is workaround to make autofix safer to use until we can resolve the [underlying](https://togithub.com/stylelint/stylelint/issues/4119) [issues](https://togithub.com/stylelint/stylelint/issues/2643) ([#4573](https://togithub.com/stylelint/stylelint/pull/4573)).
### [`v13.1.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1310)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/13.0.0...13.1.0)
- Fixed: `media-feature-name-*` false negatives for range context ([#4581](https://togithub.com/stylelint/stylelint/pull/4581)).
- Fixed: `indentation` RangeError regression ([#4572](https://togithub.com/stylelint/stylelint/pull/4572)).
- Fixed: `string-quotes` attribute selector autofix ([#4576](https://togithub.com/stylelint/stylelint/pull/4576)).
### [`v13.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1300)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/12.0.1...13.0.0)
- Removed: Node.js 8.x support. Node.js 10 is now required. We can guarantee stylelint works on the latest Node.js 10 release. ([#4500](https://togithub.com/stylelint/stylelint/pull/4500)).
- Removed: types declarations for Flow ([#4451](https://togithub.com/stylelint/stylelint/pull/4451)).
- Changed: `globby` was updated to v10. Now only forward-slashes (`/`) should be used as directory separator in globs. Refer to [glob pattern syntax](https://togithub.com/mrmlnc/fast-glob#pattern-syntax). Most of the users wouldn't need to change anything, but Windows users might need to update their globs. ([#4254](https://togithub.com/stylelint/stylelint/pull/4254)).
- Added: `unit-no-unknown` support for `x` unit ([#4427](https://togithub.com/stylelint/stylelint/pull/4427)).
- Fixed: `--report-invalid-scope-disables` crash when no rules specified ([#4498](https://togithub.com/stylelint/stylelint/pull/4498)).
- Fixed: `media-feature-parentheses-space-inside` false negatives for multiple spaces ([#4513](https://togithub.com/stylelint/stylelint/pull/4513)).
- Fixed: `selector-type-no-unknown` false positives for SVG tags ([#4495](https://togithub.com/stylelint/stylelint/pull/4495)).
- Fixed: `unit-no-unknown` false positives for Sass map keys ([#4450](https://togithub.com/stylelint/stylelint/pull/4450)).
- Fixed: `value-list-comma-newline-after` false positives for shared-line comments ([#4482](https://togithub.com/stylelint/stylelint/pull/4482)).
- Fixed: consistently check that selectors are standard before passing to the parser ([#4483](https://togithub.com/stylelint/stylelint/pull/4483)).
- Fixed: overlapping disabled ranges edge case ([#4497](https://togithub.com/stylelint/stylelint/pull/4497)).
### [`v12.0.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1201)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/12.0.0...12.0.1)
- Fixed: `string-no-newline` memory leak for ERB templates ([#4491](https://togithub.com/stylelint/stylelint/pull/4491)).
### [`v12.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1200)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/11.1.1...12.0.0)
- Removed: ignoring `bower_components` folder by default ([#4384](https://togithub.com/stylelint/stylelint/pull/4384)).
- Removed: `createRuleTester` API ([#4385](https://togithub.com/stylelint/stylelint/pull/4385)).
- Added: more information for custom formatters ([#4393](https://togithub.com/stylelint/stylelint/pull/4393)).
- Fixed: `comment-empty-line-before` false positives for selector lists and shared-line comments ([#4360](https://togithub.com/stylelint/stylelint/pull/4360)).
- Fixed: `font-family-no-missing-generic-family-keyword` false positives for Sass-variables with namespaces ([#4378](https://togithub.com/stylelint/stylelint/pull/4378)).
- Fixed: `font-weight-notation` false positives for `font-weight` ranges in `@font-face` ([#4372](https://togithub.com/stylelint/stylelint/pull/4372)).
- Fixed: `length-zero-no-unit` false positives for `line-height`, and for `fr` units ([#4394](https://togithub.com/stylelint/stylelint/pull/4394)).
- Fixed: `length-zero-no-unit` false positives for Less variables ([#4405](https://togithub.com/stylelint/stylelint/pull/4405)).
- Fixed: `selector-max-*` false negatives for rules with nested rules ([#4357](https://togithub.com/stylelint/stylelint/pull/4357)).
- Fixed: incorrect error message when parsing files with a broken syntax ([#4364](https://togithub.com/stylelint/stylelint/pull/4364)).
### [`v11.1.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1111)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/11.1.0...11.1.1)
- Fixed: syntax configuration for `--syntax css` ([#4335](https://togithub.com/stylelint/stylelint/pull/4335)).
### [`v11.1.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1110)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/11.0.0...11.1.0)
- Added: `css` syntax option ([#4315](https://togithub.com/stylelint/stylelint/pull/4315)).
- Fixed: `no-eol-whitespace` parsing problems for non-standard syntaxes ([#4313](https://togithub.com/stylelint/stylelint/pull/4313)).
- Fixed: `selector-pseudo-class-no-unknown` false positives for `:is` selector ([#4321](https://togithub.com/stylelint/stylelint/pull/4321)).
### [`v11.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1100)
[Compare Source](https://togithub.com/stylelint/stylelint/compare/10.1.0...11.0.0)
- Changed: `--report-needless-disables` CLI flag now reports needless disables and runs linting ([#4151](https://togithub.com/stylelint/stylelint/pull/4151)).
- Changed: display a violation at 1:1 for each file instead of throwing an error on unrecognised rules ([#4237](https://togithub.com/stylelint/stylelint/pull/4237)).
- Changed: always return `stylelintError` as a boolean ([#4174](https://togithub.com/stylelint/stylelint/pull/4174)).
- Deprecated: `createRuleTester` API ([#4279](https://togithub.com/stylelint/stylelint/pull/4279)).
- Added: `--reportInvalidScopeDisables` CLI flag ([#4181](https://togithub.com/stylelint/stylelint/pull/4181)).
- Added: `unicode-bom` rule ([#4225](https://togithub.com/stylelint/stylelint/pull/4225)).
- Added: `max-empty-lines` autofix ([#3667](https://togithub.com/stylelint/stylelint/pull/3667)).
- Added: `selector-pseudo-element-case` autofix ([#3672](https://togithub.com/stylelint/stylelint/pull/3672)).
- Added: `selector-*` support for all logical combinations (`:matches`, `:has`) ([#4179](https://togithub.com/stylelint/stylelint/pull/4179)).
- Added: `ignore: ["selectors-within-list"]` to `no-descending-specificity` ([#4176](https://togithub.com/stylelint/stylelint/pull/4176)).
- Added: `ignoreSelectors: []` to `property-no-unknown` ([#4275](https://togithub.com/stylelint/stylelint/pull/4275)).
- Fixed: Babel user configuration interfering with CSS-in-JS parser ([#4164](https://togithub.com/stylelint/stylelint/pull/4164)).
- Fixed: PostCSS plugin ignoring .stylelintignore ([#4186](https://togithub.com/stylelint/stylelint/pull/4186)).
- Fixed: `*-max-empty-lines` to only report one violation per function, selector, value list ([#4260](https://togithub.com/stylelint/stylelint/pull/4260)).
- Fixed: `block-no-empty` crash for `@import` statements ([#4110](https://togithub.com/stylelint/stylelint/pull/4110)).
- Fixed: `indentation` false positives for `
This PR contains the following updates:
10.1.0
->13.6.1
Release Notes
stylelint/stylelint
### [`v13.6.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1361) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.6.0...13.6.1) - Fixed: `max-empty-lines` TypeError from inline comment with autofix and sugarss syntax ([#4821](https://togithub.com/stylelint/stylelint/pull/4821)). - Fixed: `property-no-unknown` false positives for namespaced variables ([#4803](https://togithub.com/stylelint/stylelint/pull/4803)). - Fixed: `selector-type-no-unknown` false positives for idents within `::part` pseudo-elements ([#4828](https://togithub.com/stylelint/stylelint/pull/4828)). ### [`v13.6.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1360) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.5.0...13.6.0) - Added: `ignoreSelectors[]` to `block-opening-brace-space-before` ([#4640](https://togithub.com/stylelint/stylelint/pull/4640)). - Fixed: false positives for all scope disables in `--report-invalid-scope-disables` ([#4784](https://togithub.com/stylelint/stylelint/pull/4784)). - Fixed: TypeError for CSS-in-JS when encountering a call or template expression named 'html' ([#4797](https://togithub.com/stylelint/stylelint/pull/4797)). - Fixed: writing error information to `stderr` ([#4799](https://togithub.com/stylelint/stylelint/pull/4799)). - Fixed: minimum node version in `package.json`'s `engine` field ([#4790](https://togithub.com/stylelint/stylelint/pull/4790)). - Fixed: `alpha-value-notation` number precision errors ([#4802](https://togithub.com/stylelint/stylelint/pull/4802)). - Fixed: `font-family-no-missing-generic-family-keyword` false positives for variables ([#4806](https://togithub.com/stylelint/stylelint/pull/4806)). - Fixed: `no-duplicate-selectors` false positives for universal selector and `disallowInList` ([#4809](https://togithub.com/stylelint/stylelint/pull/4809)). ### [`v13.5.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1350) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.4.1...13.5.0) - Added: `alpha-value-notation` rule ([#4770](https://togithub.com/stylelint/stylelint/pull/4770)). - Added: `color-function-notation` rule ([#4760](https://togithub.com/stylelint/stylelint/pull/4760)). - Added: `hue-degree-notation` rule ([#4769](https://togithub.com/stylelint/stylelint/pull/4769)). ### [`v13.4.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1341) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.4.0...13.4.1) - Fixed: `time-min-milliseconds` TypeError for `ignore: ["delay"]` and shorthand animation ([#4783](https://togithub.com/stylelint/stylelint/pull/4783)). ### [`v13.4.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1340) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.3...13.4.0) - Added: `ignore:["delay"]` to `time-min-milliseconds` ([#4743](https://togithub.com/stylelint/stylelint/pull/4743)). - Added: `ignoreFunctions: []` to `value-keyword-case` ([#4733](https://togithub.com/stylelint/stylelint/pull/4733)). - Fixed: improved performance when auto syntax is used ([#4729](https://togithub.com/stylelint/stylelint/pull/4729)). - Fixed: `--report-needless-disables` respects stylelint-disable commands ([#4714](https://togithub.com/stylelint/stylelint/pull/4714)). - Fixed: `at-rule-property-requirelist` TypeError for comments inside of font-face ([#4744](https://togithub.com/stylelint/stylelint/pull/4744)). - Fixed: `declaration-block-trailing-semicolon` false positives for CSS-in-JS object notation ([#4749](https://togithub.com/stylelint/stylelint/pull/4749)). - Fixed: `declaration-empty-line-before` false positives for inlines styles ([#4726](https://togithub.com/stylelint/stylelint/pull/4726)). - Fixed: `media-feature-name-*` false positives for `forced-colors` ([#4775](https://togithub.com/stylelint/stylelint/pull/4775)). - Fixed: `value-keyword-case` false positives WebExtension replacement keywords ([#4778](https://togithub.com/stylelint/stylelint/pull/4778)). - Fixed: `value-keyword-case` false positives regression for mixed-case properties and the `ignoreProperties` option ([#4748](https://togithub.com/stylelint/stylelint/pull/4748)). ### [`v13.3.3`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1333) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.2...13.3.3) - Fixed: autofix will respect scoped disable comments by turning off autofix for the scoped rules for the entire source; this is a continuation of the workaround added in `13.2.0` ([#4705](https://togithub.com/stylelint/stylelint/pull/4705)). ### [`v13.3.2`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1332) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.1...13.3.2) - Fixed: update postcss-css-in-js with fix for maximum call stack size exceeded error ([#4701](https://togithub.com/stylelint/stylelint/pull/4701)). ### [`v13.3.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1331) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.0...13.3.1) - Fixed: babel configuration conflict when using TypeScript ([postcss-css-in-js/#2](https://togithub.com/stylelint/postcss-css-in-js/pull/2)). - Fixed: autofix for nested tagged template literals ([#4119](https://togithub.com/stylelint/stylelint/pull/4119)). ### [`v13.3.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1330) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.2.1...13.3.0) - Added: `ignoreFontFamilies: []` to `font-family-no-missing-generic-family-keyword` ([#4656](https://togithub.com/stylelint/stylelint/pull/4656)). - Fixed: `function-calc-no-invalid` false positives for SCSS and Less variables ([#4659](https://togithub.com/stylelint/stylelint/pull/4659)). - Fixed: `unit-no-unknown` false positives for `x` unit within vendor-prefixed `image-set` ([#4654](https://togithub.com/stylelint/stylelint/pull/4654)). ### [`v13.2.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1321) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.2.0...13.2.1) - Fixed: `selector-pseudo-element-no-unknown` false positives for `::part` pseudo-element ([#4604](https://togithub.com/stylelint/stylelint/pull/4604)). - Fixed: `value-keyword-case` false positives for longhand `grid-column/row-*` properties ([#4611](https://togithub.com/stylelint/stylelint/pull/4611)). ### [`v13.2.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1320) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.1.0...13.2.0) - Security: updated to `postcss-selector-parser@6` due to a vulnerability in one of `postcss-selector-parser@3` dependencies ([#4595](https://togithub.com/stylelint/stylelint/pull/4595)). Due to this update: - `selector-descendant-combinator-no-non-space` will ignore selectors containing comments - `selector-pseudo-class-parentheses-space-inside` can't autofix pseudo-classes that contain comments - Added: `--stdin` CLI flag that accepts stdin input even if it is empty ([#4594](https://togithub.com/stylelint/stylelint/pull/4594)). - Fixed: autofix will ignore sources containing disable comments or nested tagged template literals - this is workaround to make autofix safer to use until we can resolve the [underlying](https://togithub.com/stylelint/stylelint/issues/4119) [issues](https://togithub.com/stylelint/stylelint/issues/2643) ([#4573](https://togithub.com/stylelint/stylelint/pull/4573)). ### [`v13.1.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1310) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.0.0...13.1.0) - Fixed: `media-feature-name-*` false negatives for range context ([#4581](https://togithub.com/stylelint/stylelint/pull/4581)). - Fixed: `indentation` RangeError regression ([#4572](https://togithub.com/stylelint/stylelint/pull/4572)). - Fixed: `string-quotes` attribute selector autofix ([#4576](https://togithub.com/stylelint/stylelint/pull/4576)). ### [`v13.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1300) [Compare Source](https://togithub.com/stylelint/stylelint/compare/12.0.1...13.0.0) - Removed: Node.js 8.x support. Node.js 10 is now required. We can guarantee stylelint works on the latest Node.js 10 release. ([#4500](https://togithub.com/stylelint/stylelint/pull/4500)). - Removed: types declarations for Flow ([#4451](https://togithub.com/stylelint/stylelint/pull/4451)). - Changed: `globby` was updated to v10. Now only forward-slashes (`/`) should be used as directory separator in globs. Refer to [glob pattern syntax](https://togithub.com/mrmlnc/fast-glob#pattern-syntax). Most of the users wouldn't need to change anything, but Windows users might need to update their globs. ([#4254](https://togithub.com/stylelint/stylelint/pull/4254)). - Added: `unit-no-unknown` support for `x` unit ([#4427](https://togithub.com/stylelint/stylelint/pull/4427)). - Fixed: `--report-invalid-scope-disables` crash when no rules specified ([#4498](https://togithub.com/stylelint/stylelint/pull/4498)). - Fixed: `media-feature-parentheses-space-inside` false negatives for multiple spaces ([#4513](https://togithub.com/stylelint/stylelint/pull/4513)). - Fixed: `selector-type-no-unknown` false positives for SVG tags ([#4495](https://togithub.com/stylelint/stylelint/pull/4495)). - Fixed: `unit-no-unknown` false positives for Sass map keys ([#4450](https://togithub.com/stylelint/stylelint/pull/4450)). - Fixed: `value-list-comma-newline-after` false positives for shared-line comments ([#4482](https://togithub.com/stylelint/stylelint/pull/4482)). - Fixed: consistently check that selectors are standard before passing to the parser ([#4483](https://togithub.com/stylelint/stylelint/pull/4483)). - Fixed: overlapping disabled ranges edge case ([#4497](https://togithub.com/stylelint/stylelint/pull/4497)). ### [`v12.0.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1201) [Compare Source](https://togithub.com/stylelint/stylelint/compare/12.0.0...12.0.1) - Fixed: `string-no-newline` memory leak for ERB templates ([#4491](https://togithub.com/stylelint/stylelint/pull/4491)). ### [`v12.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1200) [Compare Source](https://togithub.com/stylelint/stylelint/compare/11.1.1...12.0.0) - Removed: ignoring `bower_components` folder by default ([#4384](https://togithub.com/stylelint/stylelint/pull/4384)). - Removed: `createRuleTester` API ([#4385](https://togithub.com/stylelint/stylelint/pull/4385)). - Added: more information for custom formatters ([#4393](https://togithub.com/stylelint/stylelint/pull/4393)). - Fixed: `comment-empty-line-before` false positives for selector lists and shared-line comments ([#4360](https://togithub.com/stylelint/stylelint/pull/4360)). - Fixed: `font-family-no-missing-generic-family-keyword` false positives for Sass-variables with namespaces ([#4378](https://togithub.com/stylelint/stylelint/pull/4378)). - Fixed: `font-weight-notation` false positives for `font-weight` ranges in `@font-face` ([#4372](https://togithub.com/stylelint/stylelint/pull/4372)). - Fixed: `length-zero-no-unit` false positives for `line-height`, and for `fr` units ([#4394](https://togithub.com/stylelint/stylelint/pull/4394)). - Fixed: `length-zero-no-unit` false positives for Less variables ([#4405](https://togithub.com/stylelint/stylelint/pull/4405)). - Fixed: `selector-max-*` false negatives for rules with nested rules ([#4357](https://togithub.com/stylelint/stylelint/pull/4357)). - Fixed: incorrect error message when parsing files with a broken syntax ([#4364](https://togithub.com/stylelint/stylelint/pull/4364)). ### [`v11.1.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1111) [Compare Source](https://togithub.com/stylelint/stylelint/compare/11.1.0...11.1.1) - Fixed: syntax configuration for `--syntax css` ([#4335](https://togithub.com/stylelint/stylelint/pull/4335)). ### [`v11.1.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1110) [Compare Source](https://togithub.com/stylelint/stylelint/compare/11.0.0...11.1.0) - Added: `css` syntax option ([#4315](https://togithub.com/stylelint/stylelint/pull/4315)). - Fixed: `no-eol-whitespace` parsing problems for non-standard syntaxes ([#4313](https://togithub.com/stylelint/stylelint/pull/4313)). - Fixed: `selector-pseudo-class-no-unknown` false positives for `:is` selector ([#4321](https://togithub.com/stylelint/stylelint/pull/4321)). ### [`v11.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#1100) [Compare Source](https://togithub.com/stylelint/stylelint/compare/10.1.0...11.0.0) - Changed: `--report-needless-disables` CLI flag now reports needless disables and runs linting ([#4151](https://togithub.com/stylelint/stylelint/pull/4151)). - Changed: display a violation at 1:1 for each file instead of throwing an error on unrecognised rules ([#4237](https://togithub.com/stylelint/stylelint/pull/4237)). - Changed: always return `stylelintError` as a boolean ([#4174](https://togithub.com/stylelint/stylelint/pull/4174)). - Deprecated: `createRuleTester` API ([#4279](https://togithub.com/stylelint/stylelint/pull/4279)). - Added: `--reportInvalidScopeDisables` CLI flag ([#4181](https://togithub.com/stylelint/stylelint/pull/4181)). - Added: `unicode-bom` rule ([#4225](https://togithub.com/stylelint/stylelint/pull/4225)). - Added: `max-empty-lines` autofix ([#3667](https://togithub.com/stylelint/stylelint/pull/3667)). - Added: `selector-pseudo-element-case` autofix ([#3672](https://togithub.com/stylelint/stylelint/pull/3672)). - Added: `selector-*` support for all logical combinations (`:matches`, `:has`) ([#4179](https://togithub.com/stylelint/stylelint/pull/4179)). - Added: `ignore: ["selectors-within-list"]` to `no-descending-specificity` ([#4176](https://togithub.com/stylelint/stylelint/pull/4176)). - Added: `ignoreSelectors: []` to `property-no-unknown` ([#4275](https://togithub.com/stylelint/stylelint/pull/4275)). - Fixed: Babel user configuration interfering with CSS-in-JS parser ([#4164](https://togithub.com/stylelint/stylelint/pull/4164)). - Fixed: PostCSS plugin ignoring .stylelintignore ([#4186](https://togithub.com/stylelint/stylelint/pull/4186)). - Fixed: `*-max-empty-lines` to only report one violation per function, selector, value list ([#4260](https://togithub.com/stylelint/stylelint/pull/4260)). - Fixed: `block-no-empty` crash for `@import` statements ([#4110](https://togithub.com/stylelint/stylelint/pull/4110)). - Fixed: `indentation` false positives for `