Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 121KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701
  1. # Changelog
  2. All notable changes to this project are documented in this file.
  3. ## 13.13.1
  4. - Fixed: invalid JSON for `max-warnings` option ([#5267](https://github.com/stylelint/stylelint/pull/5267)).
  5. - Fixed: `no-invalid-position-at-import-rule` false positives for dollar variables ([#5264](https://github.com/stylelint/stylelint/pull/5264)).
  6. ## 13.13.0
  7. - Added: `no-invalid-position-at-import-rule` rule ([#5202](https://github.com/stylelint/stylelint/pull/5202)).
  8. - Added: `no-irregular-whitespace` rule ([#5209](https://github.com/stylelint/stylelint/pull/5209)).
  9. - Added: `selector-disallowed-list` rule ([#5239](https://github.com/stylelint/stylelint/pull/5239)).
  10. - Added: `selector-attribute-quotes` autofix ([#5248](https://github.com/stylelint/stylelint/pull/5248)).
  11. - Added: `ignore: ["inside-function"]` to `declaration-property-unit-allowed-list` ([#5194](https://github.com/stylelint/stylelint/pull/5194)).
  12. - Fixed: `color-no-hex` false positives for CSS-in-JS objection notation ([#5186](https://github.com/stylelint/stylelint/pull/5186)).
  13. - Fixed: `font-family-no-missing-generic-family-keyword` false positives for variables ([#5240](https://github.com/stylelint/stylelint/pull/5240)).
  14. - Fixed: `length-zero-no-unit` autofix removing trailing zeroes ([#5256](https://github.com/stylelint/stylelint/pull/5256)).
  15. - Fixed: `length-zero-no-unit` false positives for level 4 math functions ([#5203](https://github.com/stylelint/stylelint/pull/5203)).
  16. - Fixed: `length-zero-no-unit` false positives for functions inside of math functions ([#5245](https://github.com/stylelint/stylelint/pull/5245)).
  17. ## 13.12.0
  18. - Added: `named-grid-areas-no-invalid` rule ([#5167](https://github.com/stylelint/stylelint/pull/5167)).
  19. - Added: `ignore: ["single-declaration"]` to `declaration-block-trailing-semicolon` ([#5165](https://github.com/stylelint/stylelint/pull/5165)).
  20. - Fixed: `*-no-unknown` false positives ([#5158](https://github.com/stylelint/stylelint/pull/5158)).
  21. - Fixed: `selector-pseudo-class-no-unknown` false positives for `:autofill` ([#5171](https://github.com/stylelint/stylelint/pull/5171)).
  22. ## 13.11.0
  23. - Added: exceptions and severity options to `report*` configuration object properties ([#5143](https://github.com/stylelint/stylelint/pull/5143)).
  24. ## 13.10.0
  25. - Added: `ignoreDisables`, `reportNeedlessDisables`, `reportInvalidScopeDisables` and `reportDescriptionlessDisables` configuration object properties ([#5126](https://github.com/stylelint/stylelint/pull/5126)).
  26. - Added: `declaration-block-no-duplicate-custom-properties` rule ([#5125](https://github.com/stylelint/stylelint/pull/5125)).
  27. - Fixed: `alpha-value-notation` false negatives for CSS Variables ([#5130](https://github.com/stylelint/stylelint/pull/5130)).
  28. ## 13.9.0
  29. - Added: TAP formatter ([#5062](https://github.com/stylelint/stylelint/pull/5062)).
  30. - Fixed: incorrect exit code when using `--report` options ([#5079](https://github.com/stylelint/stylelint/pull/5079)).
  31. - Fixed: `color-hex-case` false negatives for css-in-js object notation ([#5101](https://github.com/stylelint/stylelint/pull/5101)).
  32. - Fixed: `color-hex-length` false negatives for css-in-js object notation ([#5106](https://github.com/stylelint/stylelint/pull/5106)).
  33. - Fixed: `selector-attribute-name-disallowed-list` false positives for valueless attribute selectors ([#5060](https://github.com/stylelint/stylelint/pull/5060)).
  34. ## 13.8.0
  35. - Deprecated: `StylelintStandaloneReturnValue.reportedDisables`, `.descriptionlessDisables`, `.needlessDisables`, and `.invalidScopeDisables`. `.reportedDisables` will always be empty and the other properties will always be undefined, since these errors now show up in `.results` instead ([#4973](https://github.com/stylelint/stylelint/pull/4973)).
  36. - Added: disable comments that are reported as errors for various reasons are now reported as standard lint errors rather than a separate class of errors that must be handled specially ([#4973](https://github.com/stylelint/stylelint/pull/4973)).
  37. - Added: `comment-pattern` rule ([#4962](https://github.com/stylelint/stylelint/pull/4962)).
  38. - Added: `selector-attribute-name-disallowed-list` rule ([#4992](https://github.com/stylelint/stylelint/pull/4992)).
  39. - Added: `ignoreAtRules[]` to `property-no-unknown` ([#4965](https://github.com/stylelint/stylelint/pull/4965)).
  40. - Fixed: `*-notation` false negatives for dollar variables ([#5031](https://github.com/stylelint/stylelint/pull/5031)).
  41. - Fixed: `*-pattern` missing configured pattern in violation messages ([#4975](https://github.com/stylelint/stylelint/pull/4975)).
  42. ## 13.7.2
  43. - Fixed: regression for disable commands and adjacent double-slash comments ([#4950](https://github.com/stylelint/stylelint/pull/4950)).
  44. - Fixed: use of full file path without converting it to glob ([#4931](https://github.com/stylelint/stylelint/pull/4931)).
  45. ## 13.7.1
  46. - Fixed: double-slash disable comments when followed by another comment ([#4913](https://github.com/stylelint/stylelint/pull/4913)).
  47. ## 13.7.0
  48. - Deprecated: `*-blacklist`, `*-requirelist` and `*-whitelist` rules in favour of the new `*-disallowed-list`, `*-required-list` and `*-allowed-list` ones ([#4845](https://github.com/stylelint/stylelint/pull/4845)):
  49. - `at-rule-blacklist`. Use `at-rule-disallowed-list` instead.
  50. - `at-rule-property-requirelist`. Use `at-rule-property-required-list` instead.
  51. - `at-rule-whitelist`. Use `at-rule-allowed-list` instead.
  52. - `comment-word-blacklist`. Use `comment-word-disallowed-list` instead.
  53. - `declaration-property-unit-blacklist`. Use `declaration-property-unit-disallowed-list` instead.
  54. - `declaration-property-unit-whitelist`. Use `declaration-property-unit-allowed-list` instead.
  55. - `declaration-property-value-blacklist`. Use `declaration-property-value-disallowed-list` instead.
  56. - `declaration-property-value-whitelist`. Use `declaration-property-value-allowed-list` instead.
  57. - `function-blacklist`. Use `function-disallowed-list` instead.
  58. - `function-url-scheme-blacklist`. Use `function-url-scheme-disallowed-list` instead.
  59. - `function-url-scheme-whitelist`. Use `function-url-scheme-allowed-list` instead.
  60. - `function-whitelist`. Use `function-allowed-list` instead.
  61. - `media-feature-name-blacklist`. Use `media-feature-name-disallowed-list` instead.
  62. - `media-feature-name-value-whitelist`. Use `media-feature-name-value-allowed-list` instead.
  63. - `media-feature-name-whitelist`. Use `media-feature-name-allowed-list` instead.
  64. - `property-blacklist`. Use `property-disallowed-list` instead.
  65. - `property-whitelist`. Use `property-allowed-list` instead.
  66. - `selector-attribute-operator-blacklist`. Use `selector-attribute-operator-disallowed-list` instead.
  67. - `selector-attribute-operator-whitelist`. Use `selector-attribute-operator-allowed-list` instead.
  68. - `selector-combinator-blacklist`. Use `selector-combinator-disallowed-list` instead.
  69. - `selector-combinator-whitelist`. Use `selector-combinator-allowed-list` instead.
  70. - `selector-pseudo-class-blacklist`. Use `selector-pseudo-class-disallowed-list` instead.
  71. - `selector-pseudo-class-whitelist`. Use `selector-pseudo-class-allowed-list` instead.
  72. - `selector-pseudo-element-blacklist`. Use `selector-pseudo-element-disallowed-list` instead.
  73. - `selector-pseudo-element-whitelist`. Use `selector-pseudo-element-allowed-list` instead.
  74. - `unit-blacklist`. Use `unit-disallowed-list` instead.
  75. - `unit-whitelist`. Use `unit-allowed-list` instead.
  76. - Added: syntax object acceptance to `customSyntax` option ([#4839](https://github.com/stylelint/stylelint/pull/4839)).
  77. - Added: support for `*.cjs` config files ([#4905](https://github.com/stylelint/stylelint/pull/4905)).
  78. - Added: support for descriptions in stylelint command comments ([#4848](https://github.com/stylelint/stylelint/pull/4848)).
  79. - Added: `reportDescriptionlessDisables` flag ([#4907](https://github.com/stylelint/stylelint/pull/4907)).
  80. - Added: `reportDisables` secondary option ([#4897](https://github.com/stylelint/stylelint/pull/4897)).
  81. - Added: `*-no-vendor-prefix` autofix ([#4859](https://github.com/stylelint/stylelint/pull/4859)).
  82. - Added: `ignoreComments[]` to `comment-empty-line-before` ([#4841](https://github.com/stylelint/stylelint/pull/4841)).
  83. - Added: `ignoreContextFunctionalPseudoClasses` to `selector-max-id` ([#4835](https://github.com/stylelint/stylelint/pull/4835)).
  84. - Fixed: inconsistent trailing newlines in CLI error output ([#4876](https://github.com/stylelint/stylelint/pull/4876)).
  85. - Fixed: support for multi-line disable descriptions ([#4895](https://github.com/stylelint/stylelint/pull/4895)).
  86. - Fixed: support for paths with parentheses ([#4867](https://github.com/stylelint/stylelint/pull/4867)).
  87. - Fixed: `selector-max-*` (except `selector-max-type`) false negatives for `where`, `is`, `nth-child` and `nth-last-child` ([#4842](https://github.com/stylelint/stylelint/pull/4842)).
  88. - Fixed: `length-zero-no-unit` TypeError for custom properties fallback ([#4860](https://github.com/stylelint/stylelint/pull/4860)).
  89. - Fixed: `selector-combinator-space-after` false positives for trailing combinator ([#4878](https://github.com/stylelint/stylelint/pull/4878)).
  90. ## 13.6.1
  91. - Fixed: `max-empty-lines` TypeError from inline comment with autofix and sugarss syntax ([#4821](https://github.com/stylelint/stylelint/pull/4821)).
  92. - Fixed: `property-no-unknown` false positives for namespaced variables ([#4803](https://github.com/stylelint/stylelint/pull/4803)).
  93. - Fixed: `selector-type-no-unknown` false positives for idents within `::part` pseudo-elements ([#4828](https://github.com/stylelint/stylelint/pull/4828)).
  94. ## 13.6.0
  95. - Added: `ignoreSelectors[]` to `block-opening-brace-space-before` ([#4640](https://github.com/stylelint/stylelint/pull/4640)).
  96. - Fixed: false positives for all scope disables in `--report-invalid-scope-disables` ([#4784](https://github.com/stylelint/stylelint/pull/4784)).
  97. - Fixed: TypeError for CSS-in-JS when encountering a call or template expression named 'html' ([#4797](https://github.com/stylelint/stylelint/pull/4797)).
  98. - Fixed: writing error information to `stderr` ([#4799](https://github.com/stylelint/stylelint/pull/4799)).
  99. - Fixed: minimum node version in `package.json`'s `engine` field ([#4790](https://github.com/stylelint/stylelint/pull/4790)).
  100. - Fixed: `alpha-value-notation` number precision errors ([#4802](https://github.com/stylelint/stylelint/pull/4802)).
  101. - Fixed: `font-family-no-missing-generic-family-keyword` false positives for variables ([#4806](https://github.com/stylelint/stylelint/pull/4806)).
  102. - Fixed: `no-duplicate-selectors` false positives for universal selector and `disallowInList` ([#4809](https://github.com/stylelint/stylelint/pull/4809)).
  103. ## 13.5.0
  104. - Added: `alpha-value-notation` rule ([#4770](https://github.com/stylelint/stylelint/pull/4770)).
  105. - Added: `color-function-notation` rule ([#4760](https://github.com/stylelint/stylelint/pull/4760)).
  106. - Added: `hue-degree-notation` rule ([#4769](https://github.com/stylelint/stylelint/pull/4769)).
  107. ## 13.4.1
  108. - Fixed: `time-min-milliseconds` TypeError for `ignore: ["delay"]` and shorthand animation ([#4783](https://github.com/stylelint/stylelint/pull/4783)).
  109. ## 13.4.0
  110. - Added: `ignore:["delay"]` to `time-min-milliseconds` ([#4743](https://github.com/stylelint/stylelint/pull/4743)).
  111. - Added: `ignoreFunctions: []` to `value-keyword-case` ([#4733](https://github.com/stylelint/stylelint/pull/4733)).
  112. - Fixed: improved performance when auto syntax is used ([#4729](https://github.com/stylelint/stylelint/pull/4729)).
  113. - Fixed: `--report-needless-disables` respects stylelint-disable commands ([#4714](https://github.com/stylelint/stylelint/pull/4714)).
  114. - Fixed: `at-rule-property-requirelist` TypeError for comments inside of font-face ([#4744](https://github.com/stylelint/stylelint/pull/4744)).
  115. - Fixed: `declaration-block-trailing-semicolon` false positives for CSS-in-JS object notation ([#4749](https://github.com/stylelint/stylelint/pull/4749)).
  116. - Fixed: `declaration-empty-line-before` false positives for inlines styles ([#4726](https://github.com/stylelint/stylelint/pull/4726)).
  117. - Fixed: `media-feature-name-*` false positives for `forced-colors` ([#4775](https://github.com/stylelint/stylelint/pull/4775)).
  118. - Fixed: `value-keyword-case` false positives WebExtension replacement keywords ([#4778](https://github.com/stylelint/stylelint/pull/4778)).
  119. - Fixed: `value-keyword-case` false positives regression for mixed-case properties and the `ignoreProperties` option ([#4748](https://github.com/stylelint/stylelint/pull/4748)).
  120. ## 13.3.3
  121. - 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://github.com/stylelint/stylelint/pull/4705)).
  122. ## 13.3.2
  123. - Fixed: update postcss-css-in-js with fix for maximum call stack size exceeded error ([#4701](https://github.com/stylelint/stylelint/pull/4701)).
  124. ## 13.3.1
  125. - Fixed: babel configuration conflict when using TypeScript ([postcss-css-in-js/#2](https://github.com/stylelint/postcss-css-in-js/pull/2)).
  126. - Fixed: autofix for nested tagged template literals ([#4119](https://github.com/stylelint/stylelint/pull/4119)).
  127. ## 13.3.0
  128. - Added: `ignoreFontFamilies: []` to `font-family-no-missing-generic-family-keyword` ([#4656](https://github.com/stylelint/stylelint/pull/4656)).
  129. - Fixed: `function-calc-no-invalid` false positives for SCSS and Less variables ([#4659](https://github.com/stylelint/stylelint/pull/4659)).
  130. - Fixed: `unit-no-unknown` false positives for `x` unit within vendor-prefixed `image-set` ([#4654](https://github.com/stylelint/stylelint/pull/4654)).
  131. ## 13.2.1
  132. - Fixed: `selector-pseudo-element-no-unknown` false positives for `::part` pseudo-element ([#4604](https://github.com/stylelint/stylelint/pull/4604)).
  133. - Fixed: `value-keyword-case` false positives for longhand `grid-column/row-*` properties ([#4611](https://github.com/stylelint/stylelint/pull/4611)).
  134. ## 13.2.0
  135. - Security: updated to `postcss-selector-parser@6` due to a vulnerability in one of `postcss-selector-parser@3` dependencies ([#4595](https://github.com/stylelint/stylelint/pull/4595)). Due to this update:
  136. - `selector-descendant-combinator-no-non-space` will ignore selectors containing comments
  137. - `selector-pseudo-class-parentheses-space-inside` can't autofix pseudo-classes that contain comments
  138. - Added: `--stdin` CLI flag that accepts stdin input even if it is empty ([#4594](https://github.com/stylelint/stylelint/pull/4594)).
  139. - 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://github.com/stylelint/stylelint/issues/4119) [issues](https://github.com/stylelint/stylelint/issues/2643) ([#4573](https://github.com/stylelint/stylelint/pull/4573)).
  140. ## 13.1.0
  141. - Fixed: `media-feature-name-*` false negatives for range context ([#4581](https://github.com/stylelint/stylelint/pull/4581)).
  142. - Fixed: `indentation` RangeError regression ([#4572](https://github.com/stylelint/stylelint/pull/4572)).
  143. - Fixed: `string-quotes` attribute selector autofix ([#4576](https://github.com/stylelint/stylelint/pull/4576)).
  144. ## 13.0.0
  145. - 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://github.com/stylelint/stylelint/pull/4500)).
  146. - Removed: types declarations for Flow ([#4451](https://github.com/stylelint/stylelint/pull/4451)).
  147. - Changed: `globby` was updated to v10. Now only forward-slashes (`/`) should be used as directory separator in globs. Refer to [glob pattern syntax](https://github.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://github.com/stylelint/stylelint/pull/4254)).
  148. - Added: `unit-no-unknown` support for `x` unit ([#4427](https://github.com/stylelint/stylelint/pull/4427)).
  149. - Fixed: `--report-invalid-scope-disables` crash when no rules specified ([#4498](https://github.com/stylelint/stylelint/pull/4498)).
  150. - Fixed: `media-feature-parentheses-space-inside` false negatives for multiple spaces ([#4513](https://github.com/stylelint/stylelint/pull/4513)).
  151. - Fixed: `selector-type-no-unknown` false positives for SVG tags ([#4495](https://github.com/stylelint/stylelint/pull/4495)).
  152. - Fixed: `unit-no-unknown` false positives for Sass map keys ([#4450](https://github.com/stylelint/stylelint/pull/4450)).
  153. - Fixed: `value-list-comma-newline-after` false positives for shared-line comments ([#4482](https://github.com/stylelint/stylelint/pull/4482)).
  154. - Fixed: consistently check that selectors are standard before passing to the parser ([#4483](https://github.com/stylelint/stylelint/pull/4483)).
  155. - Fixed: overlapping disabled ranges edge case ([#4497](https://github.com/stylelint/stylelint/pull/4497)).
  156. ## 12.0.1
  157. - Fixed: `string-no-newline` memory leak for ERB templates ([#4491](https://github.com/stylelint/stylelint/pull/4491)).
  158. ## 12.0.0
  159. - Removed: ignoring `bower_components` folder by default ([#4384](https://github.com/stylelint/stylelint/pull/4384)).
  160. - Removed: `createRuleTester` API ([#4385](https://github.com/stylelint/stylelint/pull/4385)).
  161. - Added: more information for custom formatters ([#4393](https://github.com/stylelint/stylelint/pull/4393)).
  162. - Fixed: `comment-empty-line-before` false positives for selector lists and shared-line comments ([#4360](https://github.com/stylelint/stylelint/pull/4360)).
  163. - Fixed: `font-family-no-missing-generic-family-keyword` false positives for Sass-variables with namespaces ([#4378](https://github.com/stylelint/stylelint/pull/4378)).
  164. - Fixed: `font-weight-notation` false positives for `font-weight` ranges in `@font-face` ([#4372](https://github.com/stylelint/stylelint/pull/4372)).
  165. - Fixed: `length-zero-no-unit` false positives for `line-height`, and for `fr` units ([#4394](https://github.com/stylelint/stylelint/pull/4394)).
  166. - Fixed: `length-zero-no-unit` false positives for Less variables ([#4405](https://github.com/stylelint/stylelint/pull/4405)).
  167. - Fixed: `selector-max-*` false negatives for rules with nested rules ([#4357](https://github.com/stylelint/stylelint/pull/4357)).
  168. - Fixed: incorrect error message when parsing files with a broken syntax ([#4364](https://github.com/stylelint/stylelint/pull/4364)).
  169. ## 11.1.1
  170. - Fixed: syntax configuration for `--syntax css` ([#4335](https://github.com/stylelint/stylelint/pull/4335)).
  171. ## 11.1.0
  172. - Added: `css` syntax option ([#4315](https://github.com/stylelint/stylelint/pull/4315)).
  173. - Fixed: `no-eol-whitespace` parsing problems for non-standard syntaxes ([#4313](https://github.com/stylelint/stylelint/pull/4313)).
  174. - Fixed: `selector-pseudo-class-no-unknown` false positives for `:is` selector ([#4321](https://github.com/stylelint/stylelint/pull/4321)).
  175. ## 11.0.0
  176. - Changed: `--report-needless-disables` CLI flag now reports needless disables and runs linting ([#4151](https://github.com/stylelint/stylelint/pull/4151)).
  177. - Changed: display a violation at 1:1 for each file instead of throwing an error on unrecognised rules ([#4237](https://github.com/stylelint/stylelint/pull/4237)).
  178. - Changed: always return `stylelintError` as a boolean ([#4174](https://github.com/stylelint/stylelint/pull/4174)).
  179. - Deprecated: `createRuleTester` API ([#4279](https://github.com/stylelint/stylelint/pull/4279)).
  180. - Added: `--reportInvalidScopeDisables` CLI flag ([#4181](https://github.com/stylelint/stylelint/pull/4181)).
  181. - Added: `unicode-bom` rule ([#4225](https://github.com/stylelint/stylelint/pull/4225)).
  182. - Added: `max-empty-lines` autofix ([#3667](https://github.com/stylelint/stylelint/pull/3667)).
  183. - Added: `selector-pseudo-element-case` autofix ([#3672](https://github.com/stylelint/stylelint/pull/3672)).
  184. - Added: `selector-*` support for all logical combinations (`:matches`, `:has`) ([#4179](https://github.com/stylelint/stylelint/pull/4179)).
  185. - Added: `ignore: ["selectors-within-list"]` to `no-descending-specificity` ([#4176](https://github.com/stylelint/stylelint/pull/4176)).
  186. - Added: `ignoreSelectors: []` to `property-no-unknown` ([#4275](https://github.com/stylelint/stylelint/pull/4275)).
  187. - Fixed: Babel user configuration interfering with CSS-in-JS parser ([#4164](https://github.com/stylelint/stylelint/pull/4164)).
  188. - Fixed: PostCSS plugin ignoring .stylelintignore ([#4186](https://github.com/stylelint/stylelint/pull/4186)).
  189. - Fixed: `*-max-empty-lines` to only report one violation per function, selector, value list ([#4260](https://github.com/stylelint/stylelint/pull/4260)).
  190. - Fixed: `block-no-empty` crash for `@import` statements ([#4110](https://github.com/stylelint/stylelint/pull/4110)).
  191. - Fixed: `indentation` false positives for `<style>` tag with multiline attributes ([#4177](https://github.com/stylelint/stylelint/pull/4177)).
  192. - Fixed: `length-zero-no-unit` false positives for inside calc function ([#4175](https://github.com/stylelint/stylelint/pull/4175)).
  193. - Fixed: `max-line-length` false positives for multi-line `url()` ([#4169](https://github.com/stylelint/stylelint/pull/4169)).
  194. - Fixed: `no-duplicate-selectors` false positives for selectors in the same selector list ([#4173](https://github.com/stylelint/stylelint/pull/4173)).
  195. - Fixed: `no-unit-unknown` false positives for at-variables (Less) starting with numbers ([#4163](https://github.com/stylelint/stylelint/pull/4163)).
  196. - Fixed: `property-no-unknown` for `overflowX` for CSS-in-JS ([#4184](https://github.com/stylelint/stylelint/pull/4184)).
  197. ## 10.1.0
  198. - Added: `selector-max-empty-lines` autofix ([#3717](https://github.com/stylelint/stylelint/pull/3717)).
  199. - Added: rule names for `--report-needless-disables` output ([#4071](https://github.com/stylelint/stylelint/pull/4071)).
  200. - Added: `--output-file` CLI flag ([#4085](https://github.com/stylelint/stylelint/pull/4085)).
  201. - Fixed: `function-calc-no-invalid` false positives for interpolation ([#4046](https://github.com/stylelint/stylelint/pull/4046)).
  202. - Fixed: `declaration-block-semicolon-space-before` autofix with `!important` annotations ([#4016](https://github.com/stylelint/stylelint/issues/4016)).
  203. - Fixed: `no-eol-whitespace` autofix for within comments ([#4224](https://github.com/stylelint/stylelint/pull/4224)).
  204. - Fixed: `no-eol-whitespace` false negatives for last line without trailing EOL ([#4224](https://github.com/stylelint/stylelint/pull/4224)).
  205. - Fixed: `selector-pseudo-class-no-unknown` false positives for `defined` ([#4081](https://github.com/stylelint/stylelint/pull/4081)).
  206. ## 10.0.1
  207. - Fixed: minimum Node.js engine reduced to 8.7.0 ([#4032](https://github.com/stylelint/stylelint/pull/4032)).
  208. - Fixed: `--allow-empty-input` CLI flag ([#4029](https://github.com/stylelint/stylelint/pull/4029)).
  209. - Fixed: `color-no-invalid-hex` false positives for hashes in URLs ([#4035](https://github.com/stylelint/stylelint/pull/4035)).
  210. - Fixed: `function-linear-gradient-no-nonstandard-direction` false positives for dollar variables ([#4027](https://github.com/stylelint/stylelint/pull/4027)).
  211. ## 10.0.0
  212. - Removed: Node.js 6.x support. Node.js 8.15.1 or greater is now required ([#4006](https://github.com/stylelint/stylelint/pull/4006)).
  213. - Removed: `styled` and `jsx` syntax options that were replaced with `css-in-js` in v9.10.0 ([#4007](https://github.com/stylelint/stylelint/pull/4007)).
  214. - Changed: throws error if glob matches no files, use the `--allow-empty-input` flag for the old behaviour ([#3965](https://github.com/stylelint/stylelint/pull/3965)).
  215. - Changed: rules are now applied in the order defined in `lib/rules/index.js` ([#3923](https://github.com/stylelint/stylelint/pull/3923)).
  216. - Added: `at-rule-property-requirelist` rule ([#3997](https://github.com/stylelint/stylelint/pull/3997)).
  217. - Added: `disallowInList` to `no-duplicate-selectors` ([#3936](https://github.com/stylelint/stylelint/pull/3936)).
  218. - Added: `ignore: ["comments"]` to `block-no-empty` ([#4008](https://github.com/stylelint/stylelint/pull/4008)).
  219. - Fixed: false negatives in declaration-based rules for CSS-in-JS ([#3933](https://github.com/stylelint/stylelint/pull/3933)).
  220. - Fixed: `color-no-invalid-hex` false negatives for CSS-in-JS ([#3957](https://github.com/stylelint/stylelint/pull/3957)).
  221. - Fixed: `feature-name-no-unknown` false positives for `prefers-color-scheme` ([#3951](https://github.com/stylelint/stylelint/pull/3951)).
  222. - Fixed: `function-calc-no-invalid` false positives for negative numbers ([#3921](https://github.com/stylelint/stylelint/pull/3921)).
  223. - Fixed: `no-descending-specificity` false positives for vendor prefixed pseudo-elements ([#3929](https://github.com/stylelint/stylelint/issues/3929)).
  224. - Fixed: `selector-max-*` false negatives for nested at-rules ([#3959](https://github.com/stylelint/stylelint/pull/3959)).
  225. - Fixed: Logical combinations pseudo-classes in `selector-max-universal` are now evaluated separately ([#4263](https://github.com/stylelint/stylelint/pull/4263)).
  226. - Fixed: `value-keyword-case` autofix for single-line comments within maps ([#4019](https://github.com/stylelint/stylelint/pull/4019)).
  227. ## 9.10.1
  228. - Fixed: "fatal: Not a git repository" error ([#3915](https://github.com/stylelint/stylelint/pull/3915)).
  229. - Fixed: unintended increase in package size ([#3915](https://github.com/stylelint/stylelint/pull/3915)).
  230. ## 9.10.0
  231. - Added: support for ordinary regular expressions anywhere a regex string is accepted in rule config ([#3799](https://github.com/stylelint/stylelint/pull/3799)).
  232. - Added: `css-in-js` syntax option that will replace the existing `styled` and `jsx` ones ([#3872](https://github.com/stylelint/stylelint/pull/3872)).
  233. - Added: `function-calc-no-invalid` rule ([#3833](https://github.com/stylelint/stylelint/pull/3833)).
  234. - Added: `ignore: ["next-sibling"]` to `selector-max-type` ([#3832](https://github.com/stylelint/stylelint/pull/3832)).
  235. - Added: `declaration-block-semicolon-space-after` autofix ([#3865](https://github.com/stylelint/stylelint/pull/3865)).
  236. - Fixed: autofix is now disabled when a stylelint processors is used ([#3873](https://github.com/stylelint/stylelint/pull/3873)).
  237. - Fixed: `CssSyntaxError` for functions in template literals ([#3869](https://github.com/stylelint/stylelint/pull/3869)).
  238. - Fixed: `no-descending-specificity` false positives for styled-components ([#3875](https://github.com/stylelint/stylelint/pull/3875)).
  239. - Fixed: `no-duplicate-selectors` false positives for styled-components ([#3875](https://github.com/stylelint/stylelint/pull/3875)).
  240. - Fixed: `selector-pseudo-class-no-unknown` false positives for `focus-visible` ([#3887](https://github.com/stylelint/stylelint/pull/3887)).
  241. - Fixed: `selector-max-universal` false positives for flush comments containing a comma ([#3817](https://github.com/stylelint/stylelint/pull/3817)).
  242. - Fixed: `shorthand-property-redundant-values` false positives for negative values ([#3888](https://github.com/stylelint/stylelint/pull/3888)).
  243. ## 9.9.0
  244. - Added: `selector-list-comma-newline-after` autofix ([#3815](https://github.com/stylelint/stylelint/pull/3815)).
  245. - Added: `value-list-max-empty-lines` autofix ([#3814](https://github.com/stylelint/stylelint/pull/3814)).
  246. - Added: `ignoreSelectors: []` to `selector-no-vendor-prefix` ([#3748](https://github.com/stylelint/stylelint/pull/3748)).
  247. - Fixed: ignored files are no longer parsed ([#3801](https://github.com/stylelint/stylelint/pull/3801)).
  248. - Fixed: ignore `&:extend` for Less syntax ([#3824](https://github.com/stylelint/stylelint/pull/3824)).
  249. - Fixed: `--report-needless-disables` CLI flag ([#3819](https://github.com/stylelint/stylelint/pull/3819)).
  250. - Fixed: `font-family-no-missing-generic-family-keyword` false positives for system fonts ([#3794](https://github.com/stylelint/stylelint/pull/3794)).
  251. ## 9.8.0
  252. - Added: `value-keyword-case` autofix ([#3775](https://github.com/stylelint/stylelint/pull/3775)).
  253. - Added: `ignore: ["pseudo-classes"]` to `max-nesting-depth` ([#3724](https://github.com/stylelint/stylelint/pull/3724)).
  254. - Added: `ignoreTypes:[]` to `selector-type-case` ([#3758](https://github.com/stylelint/stylelint/pull/3758)).
  255. - Added: `ignoreFunctions:[]` to `unit-no-unkown` ([#3736](https://github.com/stylelint/stylelint/pull/3736)).
  256. - Fixed: error for single-line Sass comments ([#3772](https://github.com/stylelint/stylelint/pull/3772)).
  257. - Fixed: `at-rule-*` false positives for Less variables and mixins ([#3767](https://github.com/stylelint/stylelint/pull/3767)).
  258. - Fixed: `max-empty-lines` false positives for final newlines ([#3785](https://github.com/stylelint/stylelint/pull/3785)).
  259. ## 9.7.1
  260. - Fixed: `at-rule-*` false positives for Less variables and mixins ([#3759](https://github.com/stylelint/stylelint/pull/3759)).
  261. ## 9.7.0
  262. - Added: allow globally installed configuration ([#3642](https://github.com/stylelint/stylelint/pull/3642)).
  263. - Added: `media-feature-parentheses-space-inside` autofix ([#3720](https://github.com/stylelint/stylelint/pull/3720)).
  264. - Added: `selector-descendant-combinator-no-non-space` autofix ([#3565](https://github.com/stylelint/stylelint/pull/3565)).
  265. - Added: `unit-case` autofix ([#3725](https://github.com/stylelint/stylelint/pull/3725)).
  266. - Fixed: false negatives for Less at-imports ([#3687](https://github.com/stylelint/stylelint/pull/3687)).
  267. - Fixed: SyntaxError when an empty string is used for a rule's custom message ([#3743](https://github.com/stylelint/stylelint/pull/3743)).
  268. - Fixed: `max-empty-lines` false positives for empty lines before `</style>` ([#3708](https://github.com/stylelint/stylelint/pull/3708)).
  269. - Fixed: `selector-max-specificity` false positives for functional psuedo-classes ([#3711](https://github.com/stylelint/stylelint/pull/3711)).
  270. ## 9.6.0
  271. - Added: suggestions for invalid CLI options ([#3622](https://github.com/stylelint/stylelint/pull/3622)).
  272. - Added: `no-empty-first-line` rule ([#3650](https://github.com/stylelint/stylelint/pull/3650)).
  273. - Added: `at-rule-name-space-after` autofix ([#3653](https://github.com/stylelint/stylelint/pull/3653)).
  274. - Added: `block-closing-brace-empty-line-before` autofix ([#3598](https://github.com/stylelint/stylelint/pull/3617)).
  275. - Added: `block-closing-brace-space-before` autofix ([#3673](https://github.com/stylelint/stylelint/pull/3673)).
  276. - Added: `comment-whitespace-inside` autofix ([#3619](https://github.com/stylelint/stylelint/pull/3619)).
  277. - Added: `declaration-bang-space-after` autofix ([#3598](https://github.com/stylelint/stylelint/pull/3598)).
  278. - Added: `declaration-bang-space-before` autofix ([#3592](https://github.com/stylelint/stylelint/pull/3592)).
  279. - Added: `declaration-colon-newline-after` autofix ([#3588](https://github.com/stylelint/stylelint/pull/3588)).
  280. - Added: `function-comma-space-after` autofix ([#3555](https://github.com/stylelint/stylelint/pull/3555)).
  281. - Added: `function-comma-space-before` autofix ([#3596](https://github.com/stylelint/stylelint/pull/3596)).
  282. - Added: `function-name-case` autofix ([#3674](https://github.com/stylelint/stylelint/pull/3674)).
  283. - Added: `function-max-empty-lines` autofix ([#3645](https://github.com/stylelint/stylelint/pull/3645)).
  284. - Added: `function-parentheses-newline-inside` autofix ([#3601](https://github.com/stylelint/stylelint/pull/3601)).
  285. - Added: `function-whitespace-after` autofix ([#3648](https://github.com/stylelint/stylelint/pull/3648)).
  286. - Added: `media-feature-colon-space-after` autofix ([#3623](https://github.com/stylelint/stylelint/pull/3623)).
  287. - Added: `media-feature-colon-space-before` autofix ([#3637](https://github.com/stylelint/stylelint/pull/3637)).
  288. - Added: `media-feature-name-case` autofix ([#3685](https://github.com/stylelint/stylelint/pull/3685)).
  289. - Added: `media-feature-range-operator-space-after` autofix ([#3639](https://github.com/stylelint/stylelint/pull/3639)).
  290. - Added: `media-feature-range-operator-space-before` autofix ([#3618](https://github.com/stylelint/stylelint/pull/3618)).
  291. - Added: `media-query-list-comma-newline-after` autofix ([#3643](https://github.com/stylelint/stylelint/pull/3643)).
  292. - Added: `media-query-list-comma-space-after` autofix ([#3607](https://github.com/stylelint/stylelint/pull/3607)).
  293. - Added: `media-query-list-comma-space-before` autofix ([#3640](https://github.com/stylelint/stylelint/pull/3640)).
  294. - Added: `function-parentheses-space-inside` autofix ([#3563](https://github.com/stylelint/stylelint/pull/3563)).
  295. - Added: `selector-attribute-brackets-space-inside` autofix ([#3605](https://github.com/stylelint/stylelint/pull/3605)).
  296. - Added: `selector-attribute-operator-space-after` autofix ([#3641](https://github.com/stylelint/stylelint/pull/3641)).
  297. - Added: `selector-attribute-operator-space-before` autofix ([#3603](https://github.com/stylelint/stylelint/pull/3603)).
  298. - Added: `selector-pseudo-class-case` autofix ([#3671](https://github.com/stylelint/stylelint/pull/3671)).
  299. - Added: `selector-pseudo-class-parentheses-space-inside` autofix ([#3646](https://github.com/stylelint/stylelint/pull/3646)).
  300. - Added: `selector-type-case` autofix ([#3668](https://github.com/stylelint/stylelint/pull/3668)).
  301. - Added: `no-eol-whitespace` autofix ([#3615](https://github.com/stylelint/stylelint/pull/3615)).
  302. - Added: `no-extra-semicolons` autofix ([#3574](https://github.com/stylelint/stylelint/pull/3574)).
  303. - Added: `value-list-comma-newline-after` autofix ([#3616](https://github.com/stylelint/stylelint/pull/3616)).
  304. - Added: `value-list-comma-space-after` autofix ([#3558](https://github.com/stylelint/stylelint/pull/3558)).
  305. - Added: `value-list-comma-space-before` autofix ([#3597](https://github.com/stylelint/stylelint/pull/3597)).
  306. - Added: `baseIndentLevel` to `indentation` ([#3557](https://github.com/stylelint/stylelint/pull/3557)).
  307. - Fixed: autofix for 5 whitespace rules ([#3621](https://github.com/stylelint/stylelint/pull/3621)).
  308. - Fixed: `linebreaks` TypeError ([#3636](https://github.com/stylelint/stylelint/pull/3636)).
  309. - Fixed: `max-empty-lines` incorrect line reporting ([#3530](https://github.com/stylelint/stylelint/pull/3530)).
  310. - Fixed: `media-query-list-comma-newline-after` false positives for trailing comment ([#3657](https://github.com/stylelint/stylelint/pull/3657)).
  311. - Fixed: `no-descending-specificity` false positives for CSS Modules functional pseudo-classes ([#3623](https://github.com/stylelint/stylelint/pull/3623)).
  312. ## 9.5.0
  313. - Added: bundled support for styles in CSS-in-JS object literals ([#3506](https://github.com/stylelint/stylelint/pull/3506)).
  314. - Added: `--print-config` CLI flag ([#3532](https://github.com/stylelint/stylelint/pull/3532)).
  315. - Added: `block-closing-brace-newline-before` autofix ([#3442](https://github.com/stylelint/stylelint/pull/3442)).
  316. - Added: `block-opening-brace-newline-before` autofix ([#3518](https://github.com/stylelint/stylelint/pull/3518)).
  317. - Added: `block-opening-brace-space-after` autofix ([#3520](https://github.com/stylelint/stylelint/pull/3520)).
  318. - Added: `block-opening-brace-newline-after` autofix ([#3441](https://github.com/stylelint/stylelint/pull/3441)).
  319. - Added: `declaration-block-semicolon-newline-after` autofix ([#3545](https://github.com/stylelint/stylelint/pull/3545)).
  320. - Added: `declaration-block-semicolon-space-before` autofix ([#3554](https://github.com/stylelint/stylelint/pull/3554)).
  321. - Added: `declaration-colon-space-after` autofix ([#3538](https://github.com/stylelint/stylelint/pull/3538)).
  322. - Added: `selector-list-comma-newline-before` autofix ([#3517](https://github.com/stylelint/stylelint/pull/3517)).
  323. - Added: `selector-list-comma-space-after` autofix ([#3490](https://github.com/stylelint/stylelint/pull/3490)).
  324. - Added: `unix` formatter ([#3524](https://github.com/stylelint/stylelint/pull/3524)).
  325. - Fixed: `selector-descendant-combinator-no-non-space` false positives for calculations with parenthesis ([#3508](https://github.com/stylelint/stylelint/pull/3508)).
  326. ## 9.4.0
  327. - Added: bundled support for styles in CSS-in-JS template literals ([#3405](https://github.com/stylelint/stylelint/pull/3405)).
  328. - Added: `linebreaks` rule ([#3289](https://github.com/stylelint/stylelint/pull/3289)).
  329. - Added: `compact` formatter ([#3488](https://github.com/stylelint/stylelint/pull/3488)).
  330. - Added: `at-rule-semicolon-newline-after` autofix ([#3450](https://github.com/stylelint/stylelint/pull/3450)).
  331. - Added: `block-closing-brace-newline-after` autofix ([#3443](https://github.com/stylelint/stylelint/pull/3443)).
  332. - Added: `block-opening-brace-space-before` autofix ([#3438](https://github.com/stylelint/stylelint/pull/3438)).
  333. - Added: `declaration-block-trailing-semicolon` autofix ([#3382](https://github.com/stylelint/stylelint/pull/3382)).
  334. - Added: `declaration-colon-space-before` autofix ([#3445](https://github.com/stylelint/stylelint/pull/3445)).
  335. - Added: `property-case` autofix ([#3448](https://github.com/stylelint/stylelint/pull/3448)).
  336. - Added: `selector-combinator-space-after` autofix ([#3446](https://github.com/stylelint/stylelint/pull/3446)).
  337. - Added: `selector-combinator-space-before` autofix ([#3457](https://github.com/stylelint/stylelint/pull/3457)).
  338. - Added: `selector-list-comma-space-before` autofix ([#3447](https://github.com/stylelint/stylelint/pull/3447)).
  339. - Fixed: `block-opening-brace-newline-after` false positives for nested rule-sets prefixed with comments ([#3383](https://github.com/stylelint/stylelint/pull/3383)).
  340. - Fixed: `declaration-block-trailing-semicolon` report of errors with the `--fix` option ([#3493](https://github.com/stylelint/stylelint/pull/3493)).
  341. - Fixed: `font-family-name-quotes` false positives for `system-ui` system font ([#3463](https://github.com/stylelint/stylelint/pull/3463)).
  342. - Fixed: `keyframes-name-pattern` support for raw JS RegExp ([#3437](https://github.com/stylelint/stylelint/pull/3437)).
  343. - Fixed: `media-feature-name-no-unknown` false positives for level 5 names ([#3397](https://github.com/stylelint/stylelint/pull/3397)).
  344. - Fixed: `no-descending-specificity` false positives for #{&} ([#3420](https://github.com/stylelint/stylelint/pull/3420)).
  345. - Fixed: `no-missing-end-of-source-newline` false positives for style attributes ([#3485](https://github.com/stylelint/stylelint/pull/3485)).
  346. ## 9.3.0
  347. - Added: support for `<style>` tags and `style=""` attributes in XML and XSLT files ([#3386](https://github.com/stylelint/stylelint/pull/3386)).
  348. - Added: `globbyOptions` option ([#3339](https://github.com/stylelint/stylelint/pull/3339)).
  349. - Added: `keyframes-name-pattern` rule ([#3321](https://github.com/stylelint/stylelint/pull/3321)).
  350. - Added: `media-feature-name-value-whitelist` rule ([#3320](https://github.com/stylelint/stylelint/pull/3320)).
  351. - Added: `selector-pseudo-element-colon-notation` autofix ([#3345](https://github.com/stylelint/stylelint/pull/3345)).
  352. - Fixed: `.vue` files throwing errors for `<style lang="stylus">` and `<style lang="postcss">` ([#3331](https://github.com/stylelint/stylelint/pull/3331)).
  353. - Fixed: `declaration-block-no-*` false positives for non-standard syntax ([#3381](https://github.com/stylelint/stylelint/pull/3381)).
  354. - Fixed: `function-whitespace-after` false positives for "/" ([#3132](https://github.com/stylelint/stylelint/pull/3132)).
  355. - Fixed: `length-zero-no-unit` incorrect autofix for at-includes ([#3347](https://github.com/stylelint/stylelint/pull/3347)).
  356. - Fixed: `max-nesting-depth` false positives for nested properties ([#3349](https://github.com/stylelint/stylelint/pull/3349)).
  357. - Fixed: `no-empty-source` false positives on vue external sources `<style src="*">` tag ([#3331](https://github.com/stylelint/stylelint/pull/3331)).
  358. - Fixed: `max-line-length` false positives for non-CSS blocks ([#3367](https://github.com/stylelint/stylelint/pull/3367)).
  359. - Fixed: `no-eol-whitespace` false positives for non-CSS blocks ([#3367](https://github.com/stylelint/stylelint/pull/3367)).
  360. - Fixed: `no-extra-semicolons` false positives for non-CSS blocks ([#3367](https://github.com/stylelint/stylelint/pull/3367)).
  361. - Fixed: `no-missing-end-of-source-newline` false positives for non-CSS blocks ([#3367](https://github.com/stylelint/stylelint/pull/3367)).
  362. ## 9.2.1
  363. - Fixed: `cache` option hiding CssSyntaxError outputs ([#3258](https://github.com/stylelint/stylelint/pull/3258)).
  364. - Fixed: regression with processors (e.g. styled-components) ([#3261](https://github.com/stylelint/stylelint/pull/3261)).
  365. - Fixed: `no-descending-specificity` false positives for Sass nested properties ([#3283](https://github.com/stylelint/stylelint/pull/3283)).
  366. - Fixed: `selector-pseudo-class-no-unknown` false positives proprietary webkit pseudo classes when applied to a simple selector ([#3271](https://github.com/stylelint/stylelint/pull/3271)).
  367. ## 9.2.0
  368. - Added: `selector-max-pseudo-class` rule ([#3195](https://github.com/stylelint/stylelint/pull/3195)).
  369. - Fixed: slow `require('stylelint')` time ([#3242](https://github.com/stylelint/stylelint/pull/3242)).
  370. - Fixed: autofix erroneously writing to unchanged files ([#3241](https://github.com/stylelint/stylelint/pull/3241)).
  371. - Fixed: false negatives for template literals within script tags by updating postcss-html dependency ([#3238](https://github.com/stylelint/stylelint/pull/3238)).
  372. - Fixed: `indentation` false positives for at-root ([#3225](https://github.com/stylelint/stylelint/pull/3225)).
  373. - Fixed: `max-empty-lines` false positives for non-CSS blocks ([#3229](https://github.com/stylelint/stylelint/pull/3229)).
  374. - Fixed: `no-empty-source` false positives for non-CSS blocks ([#3240](https://github.com/stylelint/stylelint/pull/3240)).
  375. - Fixed: `string-no-newline` false positives for non-CSS blocks ([#3228](https://github.com/stylelint/stylelint/pull/3228)).
  376. ## 9.1.3
  377. - Fixed: invalid HTML causing CssSyntaxError by updating postcss-html dependency ([#3214](https://github.com/stylelint/stylelint/pull/3214)).
  378. - Fixed: empty markdown block causing CssSyntaxError by updating postcss-html dependency ([#3214](https://github.com/stylelint/stylelint/pull/3214)).
  379. ## 9.1.2
  380. - Fixed: parsing of markdown files by updating postcss-html dependency ([#3207](https://github.com/stylelint/stylelint/pull/3207)).
  381. ## 9.1.1
  382. - Fixed: missing `signal-exit` dependency ([#3186](https://github.com/stylelint/stylelint/pull/3186)).
  383. ## 9.1.0
  384. - Added: `ignore: ["first-nested"]` to `at-rule-empty-line-before` ([#3179](https://github.com/stylelint/stylelint/pull/3179)).
  385. - Added: `ignore: ["first-nested"]` to `rule-empty-line-before` ([#3179](https://github.com/stylelint/stylelint/pull/3179)).
  386. - Fixed: unnecessary Open Collective postinstall message ([#3180](https://github.com/stylelint/stylelint/pull/3180)).
  387. ## 9.0.0
  388. - Removed: Node.js 4.x support. Node.js 6.x or greater is now required ([#3075](https://github.com/stylelint/stylelint/pull/3087)).
  389. - Added: (experimental) support for [SASS](http://sass-lang.com/) syntax ([#2503](https://github.com/stylelint/stylelint/pull/2503)).
  390. - Added: allow processors to handle PostCSS errors ([#3063](https://github.com/stylelint/stylelint/pull/3063)).
  391. - Added: `--max-warnings` CLI flag ([#2942](https://github.com/stylelint/stylelint/pull/2942)).
  392. - Added: `selector-combinator-*list` rules ([#3088](https://github.com/stylelint/stylelint/pull/3088)).
  393. - Added: `selector-pseudo-element-*list` rules ([#3104](https://github.com/stylelint/stylelint/pull/3087)).
  394. - Added: `ignore: ["first-nested"]` to `custom-property-empty-line-before` ([#3104](https://github.com/stylelint/stylelint/pull/3104)).
  395. - Added: `ignore: ["first-nested"]` to `declaration-empty-line-before` ([#3103](https://github.com/stylelint/stylelint/pull/3103)).
  396. - Added: `ignoreProperties: []` to `property-no-vendor-prefix` ([#3089](https://github.com/stylelint/stylelint/pull/3089)).
  397. - Fixed: `font-family-name-quotes` unicode range increased ([#2974](https://github.com/stylelint/stylelint/pull/2974)).
  398. - Fixed: `selector-max-id` in nested at-statements ([#3113](https://github.com/stylelint/stylelint/pull/3113)).
  399. ## 8.4.0
  400. - Added: `except: ["after-closing-brace"]` to `block-closing-brace-empty-line-before` ([#3011](https://github.com/stylelint/stylelint/pull/3011)).
  401. - Fixed: unmet peer dependency warning for `postcss-sass` ([#3040](https://github.com/stylelint/stylelint/pull/3040)).
  402. - Fixed: false positives for CSS within comments in `*.pcss` files ([#3064](https://github.com/stylelint/stylelint/pull/3064)).
  403. - Fixed: `font-family-no-missing-generic-family-keyword` configuration ([#3039](https://github.com/stylelint/stylelint/pull/3039)).
  404. - Fixed: `indentation` autofix for HTML ([#3044](https://github.com/stylelint/stylelint/pull/3044)).
  405. ## 8.3.1
  406. - Fixed: `font-family-no-missing-generic-family-keyword` false positives for at-font-face ([#3034](https://github.com/stylelint/stylelint/issues/3034)).
  407. ## 8.3.0
  408. - Added: autofix support for stdin input ([#2787](https://github.com/stylelint/stylelint/pull/2787)).
  409. - Added: support for `<style>` tags and markdown fences in `.vue` and `.html` files ([#2975](https://github.com/stylelint/stylelint/pull/2975)).
  410. - Added: `font-family-no-missing-generic-family-keyword` rule ([#2930](https://github.com/stylelint/stylelint/pull/2930)).
  411. - Added: `no-duplicate-at-import-rules` rule ([#2963](https://github.com/stylelint/stylelint/pull/2963)).
  412. - Added: `number-leading-zero` autofix ([#2921](https://github.com/stylelint/stylelint/issues/2921)).
  413. - Added: `number-no-trailing-zeros` autofix ([#2947](https://github.com/stylelint/stylelint/issues/2947)).
  414. - Added: `shorthand-property-no-redundant-values` autofix ([#2956](https://github.com/stylelint/stylelint/issues/2956)).
  415. - Added: `string-quotes` autofix ([#2959](https://github.com/stylelint/stylelint/pull/2959)).
  416. - Added: `ignore: ["custom-properties"]` option to `length-zero-no-unit` ([#2967](https://github.com/stylelint/stylelint/pull/2967)).
  417. - Added: `except: ["inside-block"]` option to `rule-empty-line-before` ([#2982](https://github.com/stylelint/stylelint/pull/2982)).
  418. - Added: `ignoreValues` to `value-no-vendor-prefix` ([#3015](https://github.com/stylelint/stylelint/pull/3015)).
  419. - Added: `ignoreMediaFeatureNames` to `unit-blacklist` ([#3027](https://github.com/stylelint/stylelint/pull/3027)).
  420. - Fixed: `comment-empty-line-before` false positives for shared-line comments ([#2986](https://github.com/stylelint/stylelint/issues/2986)).
  421. - Fixed: `unit-*` false positives for spaceless multiplication ([#2948](https://github.com/stylelint/stylelint/issues/2948)).
  422. ## 8.2.0
  423. - Added: autofix of syntax errors in standard CSS e.g. unclosed braces and brackets ([#2886](https://github.com/stylelint/stylelint/issues/2886)).
  424. - Added: `length-zero-no-unit` autofix ([#2861](https://github.com/stylelint/stylelint/issues/2861)).
  425. - Added: `selector-max-specificity` support for level 4 evaluation context pseudo-classes ([#2857](https://github.com/stylelint/stylelint/issues/2857)).
  426. - Added: `ignoreUnits` option to `number-max-precision` ([#2941](https://github.com/stylelint/stylelint/pull/2941)).
  427. - Added: `ignoreSelectors` option to `selector-max-specificity` ([#2857](https://github.com/stylelint/stylelint/pull/2857)).
  428. - Added: `ignoreProperties` option to `value-keyword-case` ([#2937](https://github.com/stylelint/stylelint/pull/2937)).
  429. - Fixed: `*-empty-line-before` false negatives and positives when two or more `except: [*]` options were triggered ([#2920](https://github.com/stylelint/stylelint/issues/2920)).
  430. - Fixed: `*-empty-line-before` false positives for CSS in HTML ([#2854](https://github.com/stylelint/stylelint/issues/2854)).
  431. - Fixed: `rule-empty-line-before` false positives for `ignore: ["inside-block"]` and CSS in HTML ([#2894](https://github.com/stylelint/stylelint/issues/2894)).
  432. - Fixed: `rule-empty-line-before` false positives for `except: ["after-single-line-comment"]` and preceding shared-line comments ([#2920](https://github.com/stylelint/stylelint/issues/2920)).
  433. - Fixed: `selector-list-comma-newline-after` false positives for shared-line comments separated by more than once space ([#2915](https://github.com/stylelint/stylelint/issues/2915)).
  434. - Fixed: `selector-pseudo-class-no-unknown` false positives when using chained pseudo-classes ([#2810](https://github.com/stylelint/stylelint/issues/2810)).
  435. - Fixed: `string-quotes` false positives for `@charset` and single quotes ([#2902](https://github.com/stylelint/stylelint/issues/2902)).
  436. - Fixed: `unit-no-unknown` false positives for spaceless multiplication and division in `calc()` functions ([#2848](https://github.com/stylelint/stylelint/issues/2848)).
  437. ## 8.1.1
  438. - Fixed: `--ignore-pattern` in CLI ([#2851](https://github.com/stylelint/stylelint/issues/2851)).
  439. ## 8.1.0
  440. - Added: Allow specifying `codeFilename` to `createStylelintResult` for raw code linting standalone API ([#2450](https://github.com/stylelint/stylelint/issues/2450)).
  441. - Added: `ignorePattern` option (`--ignore-pattern` in CLI), to allow patterns of files to ignored ([#2834](https://github.com/stylelint/stylelint/issues/2834)).
  442. - Added: More rules now support experimental autofixing. Use `--fix` CLI parameter or `fix: true` Node.js API options property. Newly supported rules:
  443. - `color-hex-length` ([#2781](https://github.com/stylelint/stylelint/pull/2781)).
  444. - `no-missing-end-of-source-newline` ([#2772](https://github.com/stylelint/stylelint/pull/2772)).
  445. - Fixed: `*-empty-line-before` false positives shared-line comments and `"first-nested"` option ([#2827](https://github.com/stylelint/stylelint/issues/2827)).
  446. - Fixed: `color-hex-length` false positives for ID references in `url` functions ([#2806](https://github.com/stylelint/stylelint/issues/2806)).
  447. - Fixed: `indentation` false positives for Less parametric mixins with rule block/snippet ([#2744](https://github.com/stylelint/stylelint/pull/2744)).
  448. - Fixed: `no-empty-source` compatability with `postcss-html` custom syntax ([#2798](https://github.com/stylelint/stylelint/issues/2798)).
  449. - Fixed: `no-extra-semicolons` false negatives where instances were not detected when followed by multiple comments ([#2678](https://github.com/stylelint/stylelint/issues/2678)).
  450. - Fixed: `selector-max-specificity` cannot parse selector violation for Less mixins ([#2677](https://github.com/stylelint/stylelint/pull/2677)).
  451. ## 8.0.0
  452. This release is accompanied by:
  453. - A new [semantic version policy](docs/about/semantic-versioning.md). The use of the tilde (`~`) in `package.json` is now recommended, e.g. `"stylelint": "~8.0.0"`, to guarantee the results of your builds ([#1865](https://github.com/stylelint/stylelint/issues/1865)).
  454. - A new [VISION document](docs/about/vision.md), complemented by ([#2704](https://github.com/stylelint/stylelint/pull/2704)):
  455. - The restructuring of the [list of rules](docs/user-guide/rules/list.md) into three groups:
  456. - [Possible errors](docs/user-guide/rules/list.md#possible-errors).
  457. - [Limit language features](docs/user-guide/rules/list.md#limit-language-features).
  458. - [Stylistic issues](docs/user-guide/rules/list.md#stylistic-issues).
  459. - The release of a new sharable config, [`stylelint-config-recommended`](https://github.com/stylelint/stylelint-config-recommended). This config only turns on the [possible error](docs/user-guide/rules/list.md#possible-errors) rules. [`stylelint-config-standard`](https://github.com/stylelint/stylelint-config-standard) now builds on top of the recommended config by turning on over 60 additional [stylistic rules](docs/user-guide/rules/list.md#stylistic-issues).
  460. Changes:
  461. - Removed: the 21 rules deprecated in [`7.8.0`](#780) & [`7.12.0`](#7120) ([#2422](https://github.com/stylelint/stylelint/issues/2422) & [#2693](https://github.com/stylelint/stylelint/issues/2693)).
  462. - `block-no-single-line`.
  463. - `custom-property-no-outside-root`
  464. - `declaration-block-no-ignored-properties`.
  465. - `declaration-block-properties-order`.
  466. - `function-url-data-uris`.
  467. - `media-feature-no-missing-punctuation`.
  468. - `no-browser-hacks`.
  469. - `no-indistinguishable-colors`.
  470. - `no-unsupported-browser-features`.
  471. - `root-no-standard-properties`
  472. - `rule-nested-empty-line-before`.
  473. - `rule-non-nested-empty-line-before`.
  474. - `selector-no-attribute`.
  475. - `selector-no-combinator`.
  476. - `selector-no-empty`.
  477. - `selector-no-id`.
  478. - `selector-no-type`.
  479. - `selector-no-universal`.
  480. - `selector-root-no-composition`.
  481. - `stylelint-disable-reason`.
  482. - `time-no-imperceptible`.
  483. - Removed: the 4 options deprecated in [`7.8.0`](#780) ([#2433](https://github.com/stylelint/stylelint/issues/2433)).
  484. - `"all-nested"` option for `at-rule-empty-line-before`.
  485. - `"blockless-group"` option for `at-rule-empty-line-before`.
  486. - `"between-comments"` option for `comment-empty-line-before`.
  487. - `"at-rules-without-declaration-blocks"` option for `max-nesting-depth`.
  488. - Changed: compatibility with `postcss` from `@5` to `@6` ([#2561](https://github.com/stylelint/stylelint/issues/2561)).
  489. - Changed: parse errors now trigger exit with non-zero code ([#2713](https://github.com/stylelint/stylelint/issues/2713)).
  490. - Changed: `report-needless-disables` now exits with non-zero code ([#2341](https://github.com/stylelint/stylelint/issues/2341)).
  491. - Changed: `*-blacklist` and `*-whitelist` (and `ignore* []` secondary options) are now case sensitive. Use regular expressions with the `i` flag for case insensitivity ([#2709](https://github.com/stylelint/stylelint/issues/2709)).
  492. - Changed: `*-empty-line-before` now correctly handle shared-line comments ([#2262](https://github.com/stylelint/stylelint/issues/2262)).
  493. - Changed: `*-empty-line-before` now consider line as empty if it contains whitespace only ([#2440](https://github.com/stylelint/stylelint/pull/2440)).
  494. - Changed: `function-linear-gradient-no-nonstandard-direction` now checks all linear-gradients in a value list ([#2496](https://github.com/stylelint/stylelint/pull/2496)).
  495. - Changed: `selector-max-compound-selectors` now checks all resolved selectors, rather than just the deepest ([#2350](https://github.com/stylelint/stylelint/issues/2350)).
  496. - Added: `disableDefaultIgnores` option (`--disable-default-ignores` in CLI), to allow linting of `node_modules` and `bower_components` directories ([#2464](https://github.com/stylelint/stylelint/pull/2464)).
  497. - Added: more efficient file ignoring with `.stylelintignore` ([#2464](https://github.com/stylelint/stylelint/pull/2464)).
  498. - Added: `ignore: ["child"]` option to `selector-max-type` ([#2701](https://github.com/stylelint/stylelint/pull/2701)).
  499. - Fixed: `declaration-block-no-redundant-longhand-properties` and `declaration-block-no-shorthand-property-overrides` understand more shorthand properties ([#2354](https://github.com/stylelint/stylelint/pull/2354)).
  500. - Fixed: `selector-max-type` no longer produces false negatives for when child, next-sibling and following-sibling combinators are used with `ignore: ["descendant"]` ([#2701](https://github.com/stylelint/stylelint/pull/2701)).
  501. ## 7.13.0
  502. - Added: `ignoreAttributes` option to `selector-max-attribute` ([#2722](https://github.com/stylelint/stylelint/pull/2722)).
  503. - Fixed: `selector-combinator-space-*` false positives for CSS namespaced type selectors ([#2715](https://github.com/stylelint/stylelint/pull/2715)).
  504. - Fixed: `selector-max-specificity` now ignores nested non-standard selectors ([#2685](https://github.com/stylelint/stylelint/pull/2685)).
  505. ## 7.12.0
  506. - Deprecated: 6 rules, each has been replaced by a more configurable alternative ([#2679](https://github.com/stylelint/stylelint/pull/2679)).
  507. - `function-url-data-uris` rule. Use either `function-url-scheme-blacklist` or `function-url-scheme-whitelist`.
  508. - `selector-no-attribute` rule. Use `selector-max-attribute` with `0` as its primary option.
  509. - `selector-no-combinator` rule. Use `selector-max-combinators` with `0` as its primary option.
  510. - `selector-no-id` rule. Use `selector-max-id` with `0` as its primary option.
  511. - `selector-no-type` rule. Use `selector-max-type` with `0` as its primary option.
  512. - `selector-no-universal` rule. Use `selector-max-universal` with `0` as its primary option.
  513. - Added: `function-url-scheme-blacklist` rule ([#2626](https://github.com/stylelint/stylelint/pull/2626)).
  514. - Added: `function-url-scheme-whitelist` regex support ([#2662](https://github.com/stylelint/stylelint/pull/2662)).
  515. - Added: `selector-max-attribute` rule ([#2628](https://github.com/stylelint/stylelint/pull/2628)).
  516. - Added: `selector-max-combinators` rule ([#2658](https://github.com/stylelint/stylelint/pull/2658)).
  517. - Added: `selector-max-id` rule ([#2654](https://github.com/stylelint/stylelint/pull/2654)).
  518. - Added: `selector-max-type` rule ([#2665](https://github.com/stylelint/stylelint/pull/2665)).
  519. - Added: `selector-max-universal` rule ([#2653](https://github.com/stylelint/stylelint/pull/2653)).
  520. - Fixed: `--fix` no longer crashes when used with ignored files ([#2652](https://github.com/stylelint/stylelint/pull/2652)).
  521. - Fixed: `max-*` rules now use singular and plural nouns in their messages ([#2663](https://github.com/stylelint/stylelint/pull/2663)).
  522. ## 7.11.1
  523. - Fixed: `media-feature-name-*list` now accept arrays for their primary options ([#2632](https://github.com/stylelint/stylelint/pull/2632)).
  524. - Fixed: `selector-*` now ignore custom property sets ([#2634](https://github.com/stylelint/stylelint/pull/2634)).
  525. - Fixed: `selector-pseudo-class-no-unknown` now ignores Less `:extend` ([#2625](https://github.com/stylelint/stylelint/pull/2625)).
  526. ## 7.11.0
  527. - Added: experimental autofixing ([#2467](https://github.com/stylelint/stylelint/pull/2467), [#2500](https://github.com/stylelint/stylelint/pull/2500), [#2529](https://github.com/stylelint/stylelint/pull/2529) and [#2577](https://github.com/stylelint/stylelint/pull/2577)). Use `--fix` CLI parameter or `fix: true` Node.js API options property. Supported rules:
  528. - `at-rule-empty-line-before`
  529. - `at-rule-name-case`
  530. - `color-hex-case`
  531. - `comment-empty-line-before`
  532. - `custom-property-empty-line-before`
  533. - `declaration-empty-line-before`
  534. - `indentation`
  535. - `rule-empty-line-before`
  536. - Added: `selector-max-class` rule.
  537. - Added: `ignore: ["custom-elements"]` option to `selector-type-no-unknown` ([#2366](https://github.com/stylelint/stylelint/pull/2366)).
  538. - Fixed: "Cannot find module 'pify'" regression in node@4 with npm@2 ([#2614](https://github.com/stylelint/stylelint/pull/2614)).
  539. - Fixed: no error is thrown when linting a string with `cache` enabled ([#2494](https://github.com/stylelint/stylelint/pull/2494)).
  540. - Fixed: Less `:extend` is now ignored ([#2571](https://github.com/stylelint/stylelint/pull/2571)).
  541. - Fixed: `function-parentheses-space-inside` now ignores functions without parameters ([#2587](https://github.com/stylelint/stylelint/pull/2587)).
  542. - Fixed: `length-zero-no-unit` now correctly handles newlines and no spaces after colon ([#2477](https://github.com/stylelint/stylelint/pull/2477)).
  543. - Fixed: `selector-descendant-combinator-no-non-space` and `selector-combinator-space-before/after` now understand and check `>>>` shadow-piercing combinator ([#2509](https://github.com/stylelint/stylelint/pull/2509)).
  544. - Fixed: `selector-descendant-combinator-no-non-space` now ignores Less guards ([#2557](https://github.com/stylelint/stylelint/pull/2557)).
  545. - Fixed: `selector-pseudo-class-no-unknown` now checks `@page` at-rules and supports `@page` pseudo-classes ([#2445](https://github.com/stylelint/stylelint/pull/2445)).
  546. - Fixed: `selector-pseudo-class-no-unknown` now considers `focus-ring`, `playing` and `paused` to be known ([#2507](https://github.com/stylelint/stylelint/pull/2507)).
  547. - Fixed: `selector-type-no-unknown` now ignores MathML tags ([#2478](https://github.com/stylelint/stylelint/pull/2478)).
  548. - Fixed: `selector-type-no-unknown` now ignores the `/deep/` shadow-piercing combinator ([#2508](https://github.com/stylelint/stylelint/pull/2508)).
  549. - Fixed: `value-keyword-case` now ignores variables with signs ([#2558](https://github.com/stylelint/stylelint/pull/2558)).
  550. ## 7.10.1
  551. - Fixed: scope is kept when using `schema.preceedingPlugins` ([#2455](https://github.com/stylelint/stylelint/pull/2455)).
  552. ## 7.10.0
  553. - Added: support for asynchronous plugin rules ([#2351](https://github.com/stylelint/stylelint/pull/2351)).
  554. - Added: `cache` option to store the info about processed files in order to only operate on the changed ones the next time you run stylelint ([#2293](https://github.com/stylelint/stylelint/pull/2293)).
  555. - Added: `at-rule-semicolon-space-before` rule ([#2388](https://github.com/stylelint/stylelint/pull/2388)).
  556. - Added: `ignore: ["comments"]` to `max-empty-lines` ([#2401](https://github.com/stylelint/stylelint/pull/2401)).
  557. - Added: `ignore: ["default-namespace"]` to `selector-type-no-unknown` ([#2461](https://github.com/stylelint/stylelint/pull/2461)).
  558. - Added: `ignoreDefaultNamespaces` option to `selector-type-no-unknown` ([#2461](https://github.com/stylelint/stylelint/pull/2461)).
  559. - Fixed: more helpful messages when file globs do not match any files ([#2328](https://github.com/stylelint/stylelint/pull/2328)).
  560. - Fixed: `decl/` folder of Flow types is shipped with the package, for consumers that use Flow ([#2322](https://github.com/stylelint/stylelint/issues/2322)).
  561. - Fixed: `function-url-scheme-whitelist` was working incorrectly if more than one URL scheme were specified ([#2447](https://github.com/stylelint/stylelint/pull/2447)).
  562. - Fixed: `no-duplicate-selector` now includes the duplicate selector's first usage line in message ([#2415](https://github.com/stylelint/stylelint/pull/2415)).
  563. - Fixed: `no-extra-semicolons` false positives for comments after custom property sets ([#2396](https://github.com/stylelint/stylelint/pull/2396)).
  564. - Fixed: `value-keyword-case` false positives for `attr`, `counter`, `counters` functions and `counter-reset` property ([#2407](https://github.com/stylelint/stylelint/pull/2407)).
  565. - Fixed: Less mergeable properties are now ignored ([#2570](https://github.com/stylelint/stylelint/pull/2570)).
  566. ## 7.9.0
  567. - Added: `ignoreFontFamilyName` option to `font-family-no-duplicate` ([#2314](https://github.com/stylelint/stylelint/pull/2314)).
  568. - Added: `ignorePattern` option to `max-line-length` ([#2333](https://github.com/stylelint/stylelint/pull/2333)).
  569. - Fixed: update version of `lodash` dependency to match feature usage, fixing a conflict with Modernizr ([#2353](https://github.com/stylelint/stylelint/pull/2353)).
  570. - Fixed: `color-hex-case` false positives for ID references in `url` functions ([#2338](https://github.com/stylelint/stylelint/pull/2338)).
  571. - Fixed: `max-line-length` now reports correct column for SCSS comments ([#2340](https://github.com/stylelint/stylelint/pull/2340)).
  572. - Fixed: `selector-class-pattern` false positive in SCSS when combining interpolated and nested selectors ([#2344](https://github.com/stylelint/stylelint/pull/2344)).
  573. - Fixed: `selector-type-case` false positive for placeholder selectors ([#2360](https://github.com/stylelint/stylelint/pull/2360)).
  574. ## 7.8.0
  575. - Deprecated: 15 rules ([#2197](https://github.com/stylelint/stylelint/pull/2197), [#2285](https://github.com/stylelint/stylelint/pull/2285) & [#2309](https://github.com/stylelint/stylelint/pull/2309)).
  576. - `block-no-single-line`. Use `block-opening-brace-newline-after` and `block-closing-brace-newline-before` rules with the option `"always"` instead.
  577. - `declaration-block-properties-order`. Use the [`stylelint-order`](https://github.com/hudochenkov/stylelint-order) plugin pack instead.
  578. - `rule-nested-empty-line-before` and `rule-non-nested-empty-line-before`. Use the new `rule-empty-line-before` rule instead.
  579. - `time-no-imperceptible`. Use the new `time-min-milliseconds` rule with `100` as its primary option.
  580. - It is beyond the scope of stylelint's core package to effectively validate against the CSS spec. Please investigate [csstree](https://github.com/csstree/csstree) and [css-values](https://github.com/ben-eb/css-values) for this functionality, and contribute to those projects and to stylelint plugins wrapping them. csstree already has a [stylelint plugin](https://github.com/csstree/stylelint-validator), and css-values needs one to be developed. The following rules are deprecated for this reason.
  581. - `media-feature-no-missing-punctuation`.
  582. - `selector-no-empty`.
  583. - A plugin is a better package for a rule that wraps a third-party library. The following rules are deprecated for this reason. We encourage users to create and help maintain plugins for these rules.
  584. - `no-browser-hacks`
  585. - `no-indistinguishable-colors`
  586. - `no-unsupported-browser-features`
  587. - The following rules did not seem useful. If you liked these rules, please create plugins for them.
  588. - `custom-property-no-outside-root`
  589. - `root-no-standard-properties`
  590. - `selector-root-no-composition`.
  591. - The following rules did not work well.
  592. - `stylelint-disable-reason` could not enforce providing a reason.
  593. - `declaration-block-no-ignored-properties` could not reliably account for _replaced elements_.
  594. - Deprecated: 4 options ([#2213](https://github.com/stylelint/stylelint/pull/2213)).
  595. - `"all-nested"` option for `at-rule-empty-line-before`. Use the `"inside-block"` option instead.
  596. - `"blockless-group"` option for `at-rule-empty-line-before`. Use the `"blockless-after-blockless"` option instead.
  597. - `"between-comments"` option for `comment-empty-line-before`. Use the `"after-comment"` option instead.
  598. - `"at-rules-without-declaration-blocks"` option for `max-nesting-depth`. Use the `"blockless-at-rules"` option instead.
  599. - Added: `time-min-milliseconds` rule, to replace `time-no-imperceptible` ([#2289](https://github.com/stylelint/stylelint/pull/2289)).
  600. - Added: `except: ["after-same-name"]` option to `at-rule-empty-line-before` ([#2225](https://github.com/stylelint/stylelint/pull/2225)).
  601. - Fixed: `configOverrides` now work with `extends` ([#2295](https://github.com/stylelint/stylelint/pull/2295)).
  602. - Fixed: `max-line-length` no longer reports incorrect column positions for lines with `url()` or `import` ([#2287](https://github.com/stylelint/stylelint/pull/2287)).
  603. - Fixed: `selector-pseudo-class-no-unknown` no longer warns for proprietary webkit pseudo-classes ([#2264](https://github.com/stylelint/stylelint/pull/2264)).
  604. - Fixed: `unit-no-unknown` accepts `fr` units ([#2308](https://github.com/stylelint/stylelint/pull/2308)).
  605. ## 7.7.1
  606. - Fixed: ensure only absolute filepaths are passed to processors ([#2207](https://github.com/stylelint/stylelint/pull/2207)).
  607. ## 7.7.0
  608. - Added: `stylelint.formatters` exposed in public Node.js API ([#2190](https://github.com/stylelint/stylelint/pull/2190)).
  609. - Added: `stylelint.utils.checkAgainstRule` for checking CSS against a standard stylelint rule _within your own rule_ ([#2173](https://github.com/stylelint/stylelint/pull/2173)).
  610. - Added: `allow-empty-input` flag to CLI ([#2117](https://github.com/stylelint/stylelint/pull/2117)).
  611. - Added: `except: ["after-rule"]` option to `rule-nested-empty-line-before` ([#2188](https://github.com/stylelint/stylelint/pull/2188)).
  612. - Fixed: regression causing `--stdin-filename` in CLI and `codeFilename` in Node.js API to error if a non-existent filename is provided ([#2128](https://github.com/stylelint/stylelint/pull/2128)).
  613. - Fixed: a boolean CLI flag (e.g. `--quiet`) placed before an input glob no longer causes the input to be ignored ([#2186](https://github.com/stylelint/stylelint/pull/2186)).
  614. - Fixed: the `node_modules` and `bower_components` directories are correctly ignored by default when stylelint is used as a PostCSS plugin ([#2171](https://github.com/stylelint/stylelint/pull/2171)).
  615. - Fixed: bug where some Node.js errors in special cases did not cause the CLI to exit with a non-zero code ([#2140](https://github.com/stylelint/stylelint/pull/2140))
  616. - Fixed: false positives related to LESS detached rulesets ([#2089](https://github.com/stylelint/stylelint/pull/2089)).
  617. - Fixed: `color-named` now ignores SCSS maps, so map property names can be color names ([#2182](https://github.com/stylelint/stylelint/pull/2182)).
  618. - Fixed: `comment-whitespace-inside` no longer complains about `/*!` comments with non-space whitespace (e.g. newlines) ([#2121](https://github.com/stylelint/stylelint/pull/2121)).
  619. - Fixed: `media-feature-name-no-vendor-prefix` no longer throws syntax errors on unknown unprefixed variants ([#2152](https://github.com/stylelint/stylelint/pull/2152)).
  620. - Fixed: `selector-max-compound-selectors` ignores SCSS nested declarations ([#2102](https://github.com/stylelint/stylelint/pull/2102)).
  621. - Fixed: `selector-pseudo-class-no-unknown` no longer reports false positives for custom selectors ([#2147](https://github.com/stylelint/stylelint/pull/2147)).
  622. ## 7.6.0
  623. - Added: option `customSyntax` (for Node.js API) and `--custom-syntax` (for CLI).
  624. - Added: `font-family-no-duplicate-names` rule.
  625. - Fixed: CLI now understands absolute paths for the `--custom-formatter` option.
  626. - Fixed: the `string` and `verbose` formatters now use `dim` instead of `gray` for greater compatibility with different terminal color schemes.
  627. - Fixed: `media-feature-parentheses-space-inside` handles comments within the parentheses.
  628. - Fixed: `selector-no-qualifying-type` now ignores SCSS `%placeholders`.
  629. ## 7.5.0
  630. - Added: `selector-no-empty` rule.
  631. - Fixed: if no config is found relative to the stylesheet, look for one relative to `process.cwd()`.
  632. - Fixed: lookup `ignoreFiles` globs relative to `process.cwd()` if config is directly passed as a JS object and no `configBasedir` is provided.
  633. - Fixed: SugarSS no longer reports wrong column number in `block-no-empty`.
  634. - Fixed: `configOverrides` work with `plugins`, `extends`, and `processors`.
  635. - Fixed: a bug causing inaccuracy in nested `stylelint-disable` and `stylelint-enable` comments.
  636. - Fixed: `function-calc-no-unspaced-operator` false positives for SCSS interpolation.
  637. - Fixed: `no-descending-specificity` now ignores custom property sets.
  638. - Fixed: `value-keyword-case` false positives for some camel-case SVG keywords.
  639. ## 7.4.2
  640. - Fixed: regression where using `null` to turn off a rule caused errors.
  641. ## 7.4.1
  642. - Fixed: regression where using `null` for rules that take an array for their primary option would trigger a validation warning.
  643. ## 7.4.0
  644. - Added: each stylesheet looks up configuration from its own path. Different files can now use different configurations during the same linting process.
  645. - Added: relative path extends, plugins, and processors try to load from `process.cwd()` if they aren't found relative to the invoking configuration.
  646. - Added: `/* stylelint-disable-next-line */` comments.
  647. - Added: `media-feature-name-blacklist` rule.
  648. - Added: `media-feature-name-whitelist` rule.
  649. - Added: `ignore: ["after-declaration"]` option to `declaration-empty-line-before`.
  650. - Added: `except: ["empty"]` option to `function-url-quotes`.
  651. - Fixed: `function-linear-gradient-no-nonstandard-direction` no longer warns when vendor-prefixed linear-gradient properties are used correctly.
  652. - Fixed: `no-extra-semicolons` now ignores the semicolon that comes after the closing brace of a custom property set.
  653. - Fixed: `no-unknown-animations` no longer delivers false positives when there are multiple animation names.
  654. - Fixed: `number-*` rules now ignore numbers in comments and strings.
  655. - Fixed: `value-keyword-case` now ignores system color keywords.
  656. ## 7.3.1
  657. - Fixed: regression in 7.3.0 which caused a "Cannot read property 'length' of undefined" error on a certain selector.
  658. ## 7.3.0
  659. - Added: `processors` can accept options objects.
  660. - Added: `ignore: ["inside-function"]` option to `color-named`.
  661. - Fixed: `--ignore-path` and `--report-needless-disables` no longer fails when used together.
  662. - Fixed: `block-closing-brace-newline-after` and `block-closing-brace-space-after` now allow a trailing semicolon after the closing brace of a block.
  663. - Fixed: `block-no-single-line` now ignores empty blocks.
  664. - Fixed: `declaration-block-no-ignored-properties` now uses the value of the last occurrence of a triggering property.
  665. - Fixed: `indentation` now correctly handles `_` hacks on property names.
  666. - Fixed: `property-no-unknown` now ignores SCSS nested properties.
  667. ## 7.2.0
  668. - Added: `--report-needless-disables` and `reportNeedlessDisables` option.
  669. - Added: `--ignore-disables` and `ignoreDisables` option.
  670. - Added: `--config-basedir` option to CLI.
  671. - Added: `declaration-block-no-redundant-longhand-properties` rule.
  672. - Added: `function-url-scheme-whitelist` rule.
  673. - Added: `media-feature-name-no-unknown` rule.
  674. - Added: `selector-descendant-combinator-no-non-space` rule.
  675. - Added: `value-list-max-empty-lines` rule.
  676. - Added: `ignoreProperties` option to `color-named`.
  677. - Added: `ignore: ["consecutive-duplicates-with-different-values"]` option to `declaration-block-no-duplicate-properties`.
  678. - Added: `ignore: ["comments"]` option to `max-line-length`.
  679. - Added: `ignoreAtRules` option to `max-nesting-depth`.
  680. - Added: `ignoreProperties` option to `unit-blacklist` and `unit-whitelist`
  681. - Fixed: no longer parsing ignored files before ignoring them.
  682. - Fixed: `configFile` and `configBasedir` can now be used together.
  683. - Fixed: `max-line-length` now correctly handles Windows line endings.
  684. - Fixed: `no-descending-specificity` treats selectors with pseudo-elements as distinct from their counterparts without pseudo-classes, because they actually target different elements.
  685. - Fixed: `no-unknown-animations` and `unit-blacklist` now handle numbers without leading zeros.
  686. - Fixed: `root-no-standard-properties` now handles custom property sets.
  687. - Fixed: `selector-no-type` `ignore: ["descendant"]` option now correctly handles descendants within a selector list.
  688. - Fixed: `selector-pseudo-class-no-unknown` now understands the Shadow DOM selectors of `host` and `host-context`.
  689. - Fixed: `selector-pseudo-element-no-unknown` now understands the Shadow DOM selector of `slotted`.
  690. ## 7.1.0
  691. - Added: `block-closing-brace-empty-line-before` rule.
  692. - Added: `comment-no-empty` rule.
  693. - Added: `custom-property-empty-line-before` rule.
  694. - Added: `declaration-empty-line-before` rule.
  695. - Added: `media-feature-name-case` rule.
  696. - Added: `selector-nested-pattern` rule.
  697. - Added: `selector-pseudo-class-blacklist` rule.
  698. - Added: `selector-pseudo-class-whitelist` rule.
  699. - Added: regex support to the `ignore*` secondary options of the `*-no-unknown` rules.
  700. - Added: `ignore: ["blockless-after-same-name-blockless"]` option to `at-rule-empty-line-before`.
  701. - Added: `except: ["blockless-after-same-name-blockless"]` option to `at-rule-empty-line-before`.
  702. - Added: `ignore: ["empty-lines"]` option to `no-eol-whitespace`.
  703. - Added: `ignoreTypes` option to `selector-no-type` to whitelist allowed types for selectors.
  704. - Fixed: `color-named` now ignores declarations that accept _custom idents_.
  705. - Fixed: `font-family-name-quotes` correctly handles numerical font weights for the `font` shorthand property.
  706. - Fixed: `indentation` now correctly handles Windows line endings within parentheticals.
  707. - Fixed: `media-feature-no-missing-punctuation` now ignores media features containing complex values e.g. `(min-width: ($var - 20px))` and `(min-width: calc(100% - 20px))`.
  708. - Fixed: `no-descending-specificity` message to correctly show which selector should come first.
  709. - Fixed: `selector-combinator-space-after` and `selector-combinator-space-before` now ignore operators within parenthetical non-standard constructs.
  710. ## 7.0.3
  711. - Fixed: bug causing rules in extended configs to be merged with, rather than replaced by, the extending config.
  712. - Fixed: `selector-class-pattern` now ignores fractional keyframes selectors.
  713. - Fixed: `selector-max-specificity` now ignores selectors containing the `matches()` pseudo-class, and warns if the underlying `specificity` module cannot parse the selector.
  714. - Fixed: `selector-no-type` with secondary option `ignore: ["descendant"]` will now resolve nested selectors.
  715. ## 7.0.2
  716. - Fixed: `at-rule-blacklist`, `at-rule-whitelist`, `comment-word-blacklist`, `selector-attribute-operator-blacklist`, `selector-attribute-operator-whitelist` now accept array as first option.
  717. - Fixed: `unit-*` rules now ignore CSS hacks.
  718. ## 7.0.1
  719. - Fixed: missing `known-css-properties` dependency.
  720. ## 7.0.0
  721. - Removed: `--extract` and `extractSyleTagsFromHtml` options. Instead, [build](/docs/developer-guide/processors.md) and [use](/docs/user-guide/configure.md#processors) processors.
  722. - Removed: support for plugin rule names that aren't namespaced, i.e. only `your-namespace/your-rule-name` rule names are supported. (If your plugin provides only a single rule or you can't think of a good namespace, you can simply use `plugin/my-rule`.)
  723. - Removed: `--verbose` CLI flag. Use `--formatter verbose` instead.
  724. - Removed: NodeJS `0.12.x` support. `4.2.1 LTS` or greater is now required.
  725. - Removed: `media-query-parentheses-space-inside` rule. Use the new `media-feature-parentheses-space-inside` rule instead.
  726. - Removed: `no-missing-eof-newline` rule. Use the new rule `no-missing-end-of-source-newline` instead.
  727. - Removed: `number-zero-length-no-unit` rule. Use the `length-zero-no-unit` rule instead.
  728. - Removed: `property-unit-blacklist` rule. Use the `declaration-property-unit-blacklist` rule instead.
  729. - Removed: `property-unit-whitelist` rule. Use the `declaration-property-unit-whitelist` rule instead.
  730. - Removed: `property-value-blacklist` rule. Use the `declaration-property-value-blacklist` rule instead.
  731. - Removed: `property-value-whitelist` rule. Use the `declaration-property-value-whitelist` rule instead.
  732. - Removed: `"emptyLineBefore"` option for `declaration-block-properties-order`. If you use this option, please consider creating a plugin for the community.
  733. - Removed: `"single-where-required"`, `"single-where-recommended"`, `"single-unless-keyword"`, `"double-where-required"`, `"double-where-recommended"` and `"double-unless-keyword"` options for `font-family-name-quotes`. Instead, use the `"always-unless-keyword"`, `always-where-recommended` or `always-where-required` options together with the `string-quotes` rule.
  734. - Removed: `"single"`, `"double"` and `"none"` options for `function-url-quotes`. Instead, use the `"always"` or `"never"` options together with the `string-quotes` rule.
  735. - Removed: `"hierarchicalSelectors"` option for `indentation`. If you use this option, please consider creating a plugin for the community.
  736. - Removed: `stylelint.utils.cssWordIsVariable()`.
  737. - Removed: `stylelint.utils.styleSearch()`. Use the external [style-search](https://github.com/davidtheclark/style-search) module instead.
  738. - Changed: invalid configuration sets result's `stylelintError` to `true`, which in turn causes CLI to exit with a non-zero code.
  739. - Changed: non-standard syntaxes are automatically inferred from file extensions `.scss`, `.less`, and `.sss`.
  740. - Changed: `.stylelintignore` now uses `.gitignore` syntax, and stylelint looks for it in `process.cwd()`.
  741. - Changed: files matching ignore patterns no longer receive an "info"-severity message, which was always printed by the string formatter. Instead, the file's stylelint result object receives an `ignored: true` property, which various formatters can use as needed. The standard `string` formatter prints nothing for ignored files; but when the `verbose` formatter is used, ignored files are included in the filelist.
  742. - Changed: plugin arrays in extended configs are now concatenated with the main config's plugin array, instead of being overwritten by it. So plugins from the main config and from extended configs will all be loaded.
  743. - Changed: `-v` flag to display version number.
  744. - Changed: `comment-word-blacklist` no longer ignores words within copyright comments.
  745. - Changed: `comment-word-blacklist` will now identify strings within comments, rather than just at the beginning of, when the string option is used.
  746. - Changed: `declaration-block-no-ignored-properties` now detects use of `min-width` and `max-width` with `inline`, `table-row`, `table-row-group`, `table-column` and `table-column-group` elements.
  747. - Changed: `declaration-block-no-ignored-properties` now detects use of `overflow`, `overflow-x` and `overflow-y` with `inline` elements.
  748. - Changed: `declaration-block-no-ignored-properties` now ignores the combination of `float` and `display: inline-block | inline`.
  749. - Changed: `font-family-name-quotes` now checks the `font` property in addition to the `font-family` property.
  750. - Changed: `font-family-name-quotes` treats `-apple-*` and `BlinkMacSystemFont` system fonts as keywords that should never be wrapped in quotes.
  751. - Changed: `indentation` now checks inside of parentheses by default. If you use the `indentInsideParens: "once"` secondary option, simply remove it from your config. If you do not want to check inside of parentheses, use the new `ignore: ["inside-parens"]` secondary option. The `indentInsideParens: "twice"` and `indentInsideParens: "once-at-root-twice-in-block"` secondary options are unchanged.
  752. - Changed: `keyframe-declaration-no-important` now checks vendor prefixed `@keyframes` at-rules.
  753. - Changed: `selector-attribute-quotes` now checks attribute selectors with whitespace around the operator or inside the brackets.
  754. - Changed: `time-no-imperceptible` now checks vendor prefixed properties.
  755. - Changed: `unit-*` rules now check `@media` values too.
  756. - Added: plugins can allow primary option arrays by setting `ruleFunction.primaryOptionArray = true`.
  757. - Added: [processors](/docs/user-guide/configure.md#processors).
  758. - Added: `media-feature-parentheses-space-inside` rule.
  759. - Added: `no-missing-end-of-source-newline` rule.
  760. - Added: `property-no-unknown` rule.
  761. - Fixed: Better handling quotes in selector attribute with multiple attributes.
  762. - Fixed: `no-unknown-animations` now classifies vendor prefixed `@keyframes` at-rules as known.
  763. ## 6.9.0
  764. - Added: `defaultSeverity` configuration option.
  765. - Added: invoking the CLI with no arguments and no stdin (i.e. just `stylelint`) is equivalent to `stylelint --help`.
  766. - Added: `function-url-no-scheme-relative` rule.
  767. - Added: `selector-attribute-quotes` rule.
  768. - Fixed: the CLI now uses `process.exitCode` with `stdOut` to allow the process to exit naturally and avoid truncating output.
  769. - Fixed: `function-calc-no-unspaced-operator` correctly interprets negative fractional numbers without leading zeros and those wrapped in parentheses.
  770. - Fixed: `no-extra-semicolons` now ignores semicolons after Less mixins.
  771. - Fixed: `number-max-precision` now ignores uppercase and mixed case `@import` at-rules.
  772. - Fixed: `selector-max-specificity` no longer crashes on selectors containing `:not()` pseudo-classes.
  773. - Fixed: `time-no-imperceptible` correctly handles negative time.
  774. ## 6.8.0
  775. - Deprecated: `-e` and `--extract` CLI flags, and the `extractStyleTagsFromHtml` Node.js API option. If you use these flags or option, please consider creating a processor for the community.
  776. - Added: `at-rule-no-unknown` rule.
  777. - Added: `no-empty-source` rule.
  778. - Added: `except: ["after-single-line-comment"]` option for `rule-non-nested-empty-line-before`.
  779. - Added: `ignoreProperties: []` option for `declaration-block-no-duplicate-properties`.
  780. - Fixed: accuracy of warning positions for empty blocks when using SugarSS parser.
  781. ## 6.7.1
  782. - Fixed: `block-*-brace-*-before` CRLF (`\r\n`) warning positioning.
  783. - Fixed: `no-descending-specificity` now does comparison of specificity using ints, rather than strings.
  784. - Fixed: `selector-no-type` and `selector-type-case` now ignore non-standard keyframe selectors (e.g. within an SCSS mixin).
  785. - Fixed: `selector-type-no-unknown` no longer reports fractional keyframe selectors.
  786. ## 6.7.0
  787. - Added: `ignoreFunctions: []` option for `function-name-case`.
  788. - Fixed: rules using `findFontFamily` util correctly interpret `<font-size>/<line-height>` values with unitless line-heights.
  789. - Fixed: `indentation` better understands nested parentheticals that aren't just Sass maps and lists.
  790. - Fixed: `no-unsupported-browser-features` message now clearly states that only _fully_ supported features are allowed.
  791. - Fixed: `selector-max-specificity` no longer reports that a selector with 11 elements or more has a higher specificity than a selector with a single classname.
  792. - Fixed: `selector-type-no-unknown` no longer warns for complex keyframe selectors.
  793. ## 6.6.0
  794. - Deprecated: `number-zero-length-no-unit`. Use `length-zero-no-unit` instead.
  795. - Deprecated: `property-*-blacklist` and `property-*-whitelist`. Use `declaration-property-*-blacklist` and `declaration-property-*-whitelist` instead.
  796. - Deprecated: `-v` and `--verbose` CLI flags. Use `-f verbose` or `--formatter verbose` instead.
  797. - Deprecated: `stylelint.util.styleSearch()`. Use the external module [style-search](https://github.com/davidtheclark/style-search) instead.
  798. - Added: option `ignorePath` (for JS) and `--ignore-path` (for CLI).
  799. - Added: `-h` alias for `--help` CLI flag.
  800. - Added: `at-rule-blacklist` rule.
  801. - Added: `at-rule-name-newline-after` rule.
  802. - Added: `at-rule-whitelist` rule.
  803. - Added: `ignore: "blockless-group"` option for `at-rule-empty-line-before`.
  804. - Added: `ignoreAtRules: []` option for `at-rule-empty-line-before`.
  805. - Added: `function-blacklist` now accepts regular expressions.
  806. - Added: `function-whitelist` now accepts regular expressions.
  807. - Fixed: crash when tty columns is reported as zero, which happened when running stylelint on Travis CI in OSX.
  808. - Fixed: selector-targeting rules ignore Less mixins and extends.
  809. - Fixed: `at-rule-name-newline-after` now correctly accepts one _or more_ newlines.
  810. - Fixed: `declaration-block-semicolon-newline-before` now correctly accepts one _or more_ newlines.
  811. - Fixed: `function-url-quotes` ignores values containing `$sass` and `@less` variables.
  812. - Fixed: `function-whitespace-after` ignores `postcss-simple-vars`-style interpolation.
  813. - Fixed: `indentation` better understands nested parentheticals, like nested Sass maps.
  814. - Fixed: `no-extra-semicolons` reports errors on the correct line.
  815. - Fixed: `selector-combinator-space-*` rules now ignore escaped combinator-like characters.
  816. - Fixed: `selector-type-no-unknown` ignores non-standard usage of percentage keyframe selectors (e.g. within an SCSS mixin).
  817. - Fixed: `value-keyword-case` now ignores custom idents of properties `animation`, `font`, `list-style`.
  818. ## 6.5.1
  819. - Deprecated: `"emptyLineBefore"` option for `declaration-block-properties-order`. If you use this option, please consider creating a plugin for the community.
  820. - Deprecated: `"single-where-required"`, `"single-where-recommended"`, `"single-unless-keyword"`, `"double-where-required"`, `"double-where-recommended"` and `"double-unless-keyword"` options for `font-family-name-quotes`. Instead, use the `"always-unless-keyword"`, `always-where-recommended` or `always-where-required` options together with the `string-quotes` rule.
  821. - Deprecated: `"single"`, `"double"` and `"none"` options for `function-url-quotes`. Instead, use the `"always"` or `"never"` options together with the `string-quotes` rule.
  822. - Deprecated: `"hierarchicalSelectors"` option for `indentation`. If you use this option, please consider creating a plugin for the community.
  823. - Fixed: the string formatter no longer errors on non-rule errors.
  824. - Fixed: `selector-list-comma-*` rules now ignore Less mixins.
  825. - Fixed: `selector-max-compound-selectors` no longer errors on Less mixins.
  826. - Fixed: `selector-type-no-unknown` now ignores all _An+B notation_ and linguistic pseudo-classes.
  827. - Fixed: `selector-type-no-unknown` now ignores obsolete HTML tags and `<hgroup>`.
  828. ## 6.5.0
  829. - Added: `selector-max-compound-selectors` rule.
  830. - Fixed: `babel-polyfill` removed so it doesn't clash with other processes using `babel-polyfill`.
  831. - Fixed: `selector-type-case` and `selector-type-no-unknown` rules now ignore SCSS placeholder selectors.
  832. ## 6.4.2
  833. - Fixed: `selector-pseudo-class-case`, `selector-pseudo-class-no-unknown`, `selector-pseudo-element-case`, `selector-pseudo-element-no-unknown` rules now ignore SCSS variable interpolation.
  834. - Fixed: `selector-type-no-unknown` now ignores nested selectors and keyframe selectors.
  835. ## 6.4.1
  836. - Fixed: `shorthand-property-no-redundant-values` now ignores `background`, `font`, `border`, `border-top`, `border-bottom`, `border-left`, `border-right`, `list-style`, `transition` properties.
  837. - Fixed: `unit-no-unknown` now ignores hex colors.
  838. ## 6.4.0
  839. - Added: `keyframe-declaration-no-important` rule.
  840. - Added: `selector-attribute-operator-blacklist` rule.
  841. - Added: `selector-attribute-operator-whitelist` rule.
  842. - Added: `selector-pseudo-class-no-unknown` rule.
  843. - Added: `selector-type-no-unknown` rule.
  844. - Fixed: string formatter no longer errors on multi-byte `message`.
  845. - Fixed: catch errors thrown by `postcss-selector-parser` and register them as PostCSS warnings, providing a better UX for editor plugins.
  846. - Fixed: some rules now better handle case insensitive CSS identifiers.
  847. - Fixed: `font-family-name-quotes`, `media-feature-no-missing-punctuation`, `media-query-list-comma-newline-after`, `media-query-list-comma-newline-before`, `media-query-list-comma-space-after` and `media-query-list-comma-space-before` rules now better ignore SCSS, Less variables and nonstandard at-rules.
  848. - Fixed: `no-unknown-animations` now ignores `ease` value.
  849. - Fixed: `unit-blacklist`, `unit-case`, `unit-no-unknown`, `unit-whitelist` now better accounts interpolation.
  850. - Fixed: `unit-no-unknown` no longer breaks Node.js 0.12 (because we've included the Babel polyfill).
  851. - Fixed: `value-keyword-case` now ignores custom idents of properties `animation-name`, `counter-increment`, `font-family`, `grid-row`, `grid-column`, `grid-area`, `list-style-type`.
  852. - Fixed: wrong example for `always-multi-line` in rule `block-opening-brace-newline-before` documentation.
  853. ## 6.3.3
  854. - Fixed: `block-closing-brace-newline-before` no longer delivers false positives for extra semicolon.
  855. - Fixed: `declaration-block-no-ignored-properties` now detects use of `vertical-align` with block-level elements.
  856. - Fixed: `font-family-name-quotes` is now case insensitive when hunting for font-family properties.
  857. - Fixed: `number-zero-length-no-unit` now ignores `deg`, `grad`, `turn` and `rad` units.
  858. - Fixed: `selector-no-type` does a better job when ignoring descendant and compound selectors.
  859. ## 6.3.2
  860. - Fixed: `shorthand-property-no-redundant-values` now handles uppercase values properly.
  861. ## 6.3.1
  862. - Fixed: `declaration-block-no-ignored-properties` now longer crashes on nested rules.
  863. ## 6.3.0
  864. - Deprecated: support for plugin rule names that aren't namespaced i.e. only `your-namespace/your-rule-name` rule names are supported. If your plugin provides only a single rule or you can't think of a good namespace, you can simply use `plugin/my-rule`).
  865. - Added: support for plugins that provides an array of rules.
  866. - Added: support for extracting and linting CSS from within HTML sources.
  867. - Added: `--stdin-filename` option to CLI.
  868. - Added: `at-rule-name-space-after` rule.
  869. - Added: `no-extra-semicolons` rule.
  870. - Added: `selector-attribute-operator-space-after` rule.
  871. - Added: `selector-attribute-operator-space-before` rule.
  872. - Added: `selector-max-empty-lines` rule.
  873. - Added: `selector-pseudo-element-no-unknown` rule.
  874. - Added: flexible support for end-of-line comments in `at-rule-semicolon-newline-after`, `block-opening-brace-newline-after`, and `declaration-block-semicolon-newline-after`.
  875. - Fixed: string and verbose formatters no longer use an ambiguous colour schemes.
  876. - Fixed: string formatter no longer outputs an empty line if there are no problems.
  877. - Fixed: all rules now handle case insensitive CSS identifiers.
  878. - Fixed: `function-comma-newline-after` now allows end-of-line comments.
  879. - Fixed: `function-url-quotes` now ignores spaces within `url()`.
  880. - Fixed: `no-descending-specificity` now ignores trailing colons within selectors.
  881. - Fixed: `no-indistinguishable-colors` now ignores keyword color names within `url()`.
  882. - Fixed: `number-max-precision` now ignores `@import` at-rules and `url()` functions.
  883. - Fixed: `selector-class-pattern` and `selector-id-pattern` rules now ignore SCSS variable interpolation.
  884. - Fixed: `value-list-comma-*` rules now ignore SCSS maps.
  885. ## 6.2.2
  886. - Deprecated: `stylelint.utils.cssWordIsVariable()` as non-standard syntax utils are now defensive.
  887. - Fixed: `declaration-colon-*` rules now ignore SCSS lists.
  888. - Fixed: `font-weight-notation` now ignores SCSS interpolation.
  889. - Fixed: `rule-nested-empty-line-before` now ignores Less blockless rules (mixin and extend calls).
  890. ## 6.2.1
  891. - Fixed: more problems with exposed `stylelint.createRuleTester`.
  892. ## 6.2.0
  893. - Added: `selector-no-qualifying-type` rule.
  894. - Fixed: `number-leading-zero` will not check `@import` at-rules.
  895. - Fixed: `selector-class-pattern` now ignores non-outputting Less mixin definitions and called Less mixins.
  896. - Fixed: `value-keyword-case` now accounts for camelCase keywords (e.g. `optimizeSpeed`, `optimizeLegibility` and `geometricPrecision`) when the `lower` option is used.
  897. - Fixed: `testUtils` and `stylelint.createRuleTester` module mistakes.
  898. ## 6.1.1
  899. - Fixed: documentation links to `selector-pseudo-class-parentheses-space-inside` and `selector-attribute-brackets-space-inside`.
  900. ## 6.1.0
  901. - Added: support for `.stylelintignore` file.
  902. - Added: warning message in output when a file is ignored.
  903. - Added: `comment-word-blacklist` rule.
  904. - Added: `selector-attribute-brackets-space-inside` rule.
  905. - Added: `selector-pseudo-class-parentheses-space-inside` rule.
  906. - Added: `shorthand-property-no-redundant-values` rule.
  907. - Added: `ignoreKeywords` option for `value-keyword-case`.
  908. - Fixed: CRLF (`\r\n`) warning positioning in `string-no-newline`.
  909. - Fixed: parsing problems when using `///`-SassDoc-style comments.
  910. - Fixed: `max-empty-lines` places warning at the end of the violating newlines to avoid positioning confusions.
  911. ## 6.0.3
  912. - Fixed: CRLF (`\r\n`) warning positioning in `max-empty-lines` and `function-max-empty-lines`.
  913. ## 6.0.2
  914. - Fixed: `CssSyntaxError` sets `errored` on output to `true`.
  915. ## 6.0.1
  916. - Fixed: `function-name-case` now accounts for camelCase function names (e.g. `translateX`, `scaleX` etc) when the `lower` option is used.
  917. ## 6.0.0
  918. - Changed: `CssSyntaxError` is no longer thrown but reported alongside warnings.
  919. - Added: new look for standard formatter and support for arbitrary severity names.
  920. - Added: exposed `stylelint.utils.cssWordIsVariable()`.
  921. - Added: `at-rule-name-case` rule.
  922. - Added: `function-name-case` rule.
  923. - Added: `property-case` rule.
  924. - Added: `selector-pseudo-class-case` rule.
  925. - Added: `selector-pseudo-element-case` rule.
  926. - Added: `unit-case` rule.
  927. - Added: `value-keyword-case` rule.
  928. - Added: `indentClosingBrace` option to `indentation`.
  929. - Added: `indentInsideParens` option to `indentation`.
  930. - Added: `consecutive-duplicates` option for `declaration-block-no-duplicate-properties` rule.
  931. - Fixed: `block-no-empty` no longer delivers false positives for less syntax.
  932. - Fixed: `declaration-block-trailing-semicolon` better understands nested at-rules.
  933. - Fixed: `number-zero-length-no-unit` now work with `q` unit and ignores `s`, `ms`, `kHz`, `Hz`, `dpcm`, `dppx`, `dpi` units
  934. ## 5.4.0
  935. - Added: `unit-no-unknown` rule.
  936. - Fixed: `no-descending-specificity` no longer gets confused when the last part of a selector is a compound selector.
  937. - Fixed: regression causing `indentation` to complain about Sass maps.
  938. - Fixed: `declaration-block-no-ignored-properties` now ignore `clear` for `position: absolute` and `position: relative` and does not ignore `float` on `display: table-*`.
  939. ## 5.3.0
  940. - Added: (experimental) support for [Less](http://lesscss.org/) syntax.
  941. - Added: support for [SugarSS](https://github.com/postcss/sugarss) syntax.
  942. - Added: exposed `stylelint.createRuleTester()`.
  943. - Added: `declaration-block-no-ignored-properties` rule.
  944. - Added: `function-max-empty-lines` rule.
  945. - Added: `function-url-data-uris` rule.
  946. - Fixed: `block-closing-brace-newline-after` accepts single-line comments immediately after the closing brace.
  947. - Fixed: `block-closing-brace-newline-after` use of "single space", rather than "newline", in its messages.
  948. - Fixed: `font-weight-notation` now ignores `initial` value.
  949. - Fixed: `function-*` rules should all now ignore all Sass maps and lists.
  950. - Fixed: `function-calc-no-unspaced-operator` accepts newlines.
  951. - Fixed: `function-comma-space-after`, `function-comma-space-before`, `function-parentheses-newline-inside` and `function-parentheses-space-inside` now ignore SCSS maps.
  952. - Fixed: `max-line-length` options validation.
  953. - Fixed: `no-unknown-animations` now ignores `none`, `initial`, `inherit`, `unset` values.
  954. - Fixed: `property-value-blacklist` and `-whitelist` no longer error on properties without a corresponding list entry.
  955. - Fixed: `selector-class-pattern` now ignores selectors with Sass interpolation.
  956. - Fixed: `selector-id-pattern` now ignores selectors with Sass interpolation.
  957. - Fixed: `selector-no-id` now ignores keyframe selectors.
  958. - Fixed: `unit-blacklist` and `unit-whitelist` now ignores `url` functions.
  959. ## 5.2.1
  960. - Fixed: `function-calc-no-unspaced-operator` now better ignores non-`calc` functions.
  961. - Fixed: `no-descending-specificity` no longer delivers false positives after second run in Atom linter.
  962. - Fixed: `stylelint-disable-rule` imported correctly.
  963. ## 5.2.0
  964. - Added: `at-rule-semicolon-newline-after` rule.
  965. - Added: `no-indistinguishable-colors` rule.
  966. - Added: `stylelint-disable-reason` rule.
  967. - Fixed: `declaration-bang-space-*` understands arbitrary bang declarations (e.g. `!default`).
  968. - Fixed: `font-weight-notation` now ignore `inherit` value.
  969. - Fixed: `indentation` treats `@nest` at-rules like regular rules with selectors.
  970. - Fixed: `no-duplicate-selectors` contextualizes selectors by all at-rules, not just media queries.
  971. - Fixed: `no-duplicate-selectors` no longer delivers false positives after second run in Atom linter.
  972. - Fixed: `no-duplicate-selectors` no longer delivers false positives with descendant combinators.
  973. - Fixed: `number-no-trailing-zeros` no longer delivers false positives in `url()` arguments.
  974. - Fixed: `root-no-standard-properties` no longer delivers false positives inside the `:not()` pseudo-selector.
  975. - Fixed: `selector-list-comma-*` rules no longer deliver false positives inside functional notation.
  976. ## 5.1.0
  977. - Added: `selector-type-case` rule.
  978. - Fixed: no more subtle configuration bug when using extends and plugins together in tangled ways.
  979. ## 5.0.1
  980. - Fixed: `string-no-newline` no longer stumbles when there are comment-starting characters inside strings.
  981. ## 5.0.0
  982. - Removed: `no-indistinguishable-colors` because its dependencies were unusable in Atom. (To be re-evaluated and re-added later.)
  983. - Removed: `"warn": true` secondary option. Use `"severity": "warning"`, instead.
  984. - Removed: `color-no-named` rule. Use the new `color-named` rule, with the `"never"` option instead.
  985. - Removed: `declaration-block-no-single-line` rule. Use the new `block-no-single-line` rule instead.
  986. - Removed: `rule-no-duplicate-properties` rule. Use the new `declaration-block-no-duplicate-properties` rule instead.
  987. - Removed: `rule-no-shorthand-property-overrides` rule. Use the new `declaration-block-no-shorthand-property-overrides` rule instead.
  988. - Removed: `rule-properties-order` rule. Use the new `declaration-block-properties-order` rule instead.
  989. - Removed: `rule-trailing-semicolon` rule. Use the new `declaration-block-trailing-semicolon` rule instead.
  990. - Removed `true` option for `emptyLineBefore` when using property groups in `rule-properties-order`. Use the new `"always"` or `"never"` option instead.
  991. - Removed: `"always"` option for `font-weight-notation`. Use the new `always-where-possible` option instead.
  992. - Added: support for overlapping `stylelint-disable` commands.
  993. - Fixed: `max-nesting-depth` does not warn about blockless at-rules.
  994. - Fixed: `function-comma-newline-after` and related rules consider input to be multi-line (applying to "always-multi-line", etc.) when the newlines are at the beginning or end of the input.
  995. - Fixed: `no-indistinguishable-colors` no longer errors on color functions containing spaces e.g. `rgb(0, 0, 0)` -- but also removed the rule (see above).
  996. - Fixed: `declaration-block-properties-order` no longer fails when an unspecified property comes before or after a specified property in a group with `emptyLineBefore: true`.
  997. - Fixed: `indentation` no longer has false positives when there are empty lines within multi-line values.
  998. - Fixed: `declaration-colon-*-after` no longer fail to do their job when you want a space or newline after the colon and instead there is no space at all.
  999. ## 4.5.1
  1000. - Fixed: `no-unsupported-browser-features` options now optional.
  1001. - Fixed: `no-duplicate-selectors` now ignores keyframe selectors.
  1002. ## 4.5.0
  1003. - Deprecated: `"warn": true` secondary option. Use `"severity": "warning"`, instead.
  1004. - Deprecated: `color-no-named` rule. Use the new `color-named` rule, with the `"never"` option instead.
  1005. - Deprecated: `declaration-block-no-single-line` rule. Use the new `block-no-single-line` rule instead.
  1006. - Deprecated: `rule-no-duplicate-properties` rule. Use the new `declaration-block-no-duplicate-properties` rule instead.
  1007. - Deprecated: `rule-no-shorthand-property-overrides` rule. Use the new `declaration-block-no-shorthand-property-overrides` rule instead.
  1008. - Deprecated: `rule-properties-order` rule. Use the new `declaration-block-properties-order` rule instead.
  1009. - Deprecated: `rule-trailing-semicolon` rule. Use the new `declaration-block-trailing-semicolon` rule instead.
  1010. - Deprecated `true` option for `emptyLineBefore` when using property groups in `rule-properties-order`. Use the new `"always"` or `"never"` option instead.
  1011. - Deprecated: `"always"` option for `font-weight-notation`. Use the new `always-where-possible` option instead.
  1012. - Added: universal `severity` secondary option as a replacement for `"warn": true` to alter a rule's severity.
  1013. - Added: `block-no-single-line` rule.
  1014. - Added: `color-named` rule.
  1015. - Added: `declaration-block-no-duplicate-properties` rule.
  1016. - Added: `declaration-block-no-shorthand-property-overrides` rule.
  1017. - Added: `declaration-block-properties-order` rule.
  1018. - Added: `declaration-block-trailing-semicolon` rule.
  1019. - Added: `max-nesting-depth` rule.
  1020. - Added: `no-browser-hacks` rule.
  1021. - Added: `no-descending-specificity` rule.
  1022. - Added: `no-indistinguishable-colors` rule.
  1023. - Added: `no-unsupported-browser-features` rule.
  1024. - Added: `selector-max-specificity` rule.
  1025. - Added: `string-no-newline` rule.
  1026. - Added: `"always"` and `"never"` option to `rule-properties-order` `emptyLineBefore` when using property groups
  1027. - Added: `named-where-possible` option to `font-weight-notation`.
  1028. - Added: `unspecified: "bottomAlphabetical"` option to the `rule-properties-order` rule.
  1029. - Added: `ignoreAtRules: []` option to the `block-opening-brace-space-before` and `block-closing-brace-newline-after` rules.
  1030. - Added: support for using the nesting selector (`&`) as a prefix in `selector-no-type`.
  1031. - Added: `stylelint-disable-line` feature.
  1032. - Added: `withinComments`, `withinStrings`, and `checkStrings` options to `styleSearch`, and `insideString` property to the `styleSearch` match object.
  1033. - Added: `resolveNestedSelectors` option to the `selector-class-pattern` rule.
  1034. - Fixed: informative errors are thrown when `stylelint-disable` is misused.
  1035. - Fixed: `selector-no-vendor-prefix` no longer delivers two warnings on vendor-prefixed pseudo-elements with two colons, e.g. `::-moz-placeholder`.
  1036. - Fixed: `no-duplicate-selectors` rule now resolves nested selectors.
  1037. - Fixed: `font-weight-notation` does not throw false warnings when `normal` is used in certain ways.
  1038. - Fixed: `selector-no-*` and `selector-*-pattern` rules now ignore custom property sets.
  1039. - Fixed: nested selector handling for `no-duplicate-selectors`.
  1040. - Fixed: `selector-no-id` does not warn about Sass interpolation inside an `:nth-child()` argument.
  1041. - Fixed: handling of mixed line endings in `rule-nested-empty-line-before`, `rule-non-nested-empty-line-before`, `comment-empty-line-before` and `at-rule-empty-line-before`.
  1042. - Fixed: `number-leading-zero`, `function-comma-space-*`, and `declaration-colon-*` do not throw false positives in `url()` arguments.
  1043. ## 4.4.0
  1044. - Added: `ignore: "relative"` option for `font-weight-notation`.
  1045. - Fixed: `declaration-colon-space/newline-before/after` rules now ignore scss maps.
  1046. - Fixed: `selector-list-comma-newline-after` allows `//` comments after the comma.
  1047. ## 4.3.6
  1048. - Fixed: removed `console.log()`s in `property-unit-whitelist`.
  1049. ## 4.3.5
  1050. - Fixed: removed `console.log()`s in `rule-properties-order`.
  1051. ## 4.3.4
  1052. - Fixed: option normalization for rules with primary options that are arrays of objects, like `rule-properties-order`.
  1053. - Fixed: accuracy of warning positions are `//` comments when using SCSS parser.
  1054. - Fixed: `no-unknown-animations` ignores variables.
  1055. - Fixed: `no-unknown-animations` does not erroneously flag functions like `steps()` and `cubic-bezier()`.
  1056. - Fixed: clarified error message in `time-no-imperceptible`.
  1057. - Fixed: `font-family-name-quotes` and `font-weight-notation` ignore variables.
  1058. - Fixed: `media-feature-no-missing-punctuation` handles space-padded media features.
  1059. - Fixed: regression causing CLI `--config` relatives paths that don't start with `./` to be rejected.
  1060. ## 4.3.3
  1061. - Fixed: again removed `stylelint.utils.ruleTester` because its dependencies broke things.
  1062. ## 4.3.2
  1063. - Fixed: move `tape` to dependencies to support `testUtils`.
  1064. ## 4.3.1
  1065. - Fixed: include `testUtils` in npm package whitelist.
  1066. ## 4.3.0
  1067. - Added: `font-family-name-quotes` rule.
  1068. - Added: `font-weight-notation` rule.
  1069. - Added: `media-feature-no-missing-punctuation` rule.
  1070. - Added: `no-duplicate-selectors` rule.
  1071. - Added: `no-invalid-double-slash-comments` rule.
  1072. - Added: `no-unknown-animations` rule.
  1073. - Added: `property-value-blacklist` rule.
  1074. - Added: `property-value-whitelist` rule.
  1075. - Added: `time-no-imperceptible` rule.
  1076. - Added: `ignore: "descendant"` and `ignore: "compounded"` options for `selector-no-type`.
  1077. - Added: support for regular expression property identification in `property-blacklist`, `property-unit-blacklist`, `property-unit-whitelist`, `property-value-blacklist`, and `property-whitelist`.
  1078. - Added: better handling of vendor prefixes in `property-unit-blacklist` and `property-unit-whitelist`, e.g. if you enter `animation` it now also checks `-webkit-animation`.
  1079. - Added: support for using names of modules for the CLI's `--config` argument, not just paths.
  1080. - Added: `codeFilename` option to Node.js API.
  1081. - Added: exposed rules at `stylelint.rules` to make stylelint even more extensible.
  1082. - Added: brought `stylelint-rule-tester` into this repo, and exposed it at `stylelint.utils.ruleTester`.
  1083. - Fixed: bug in `rule-properties-order` empty line detection when the two newlines were separated
  1084. by some other whitespace.
  1085. - Fixed: option parsing bug that caused problems when using the `"alphabetical"` primary option
  1086. with `rule-properties-order`.
  1087. - Fixed: regard an empty string as a valid CSS code.
  1088. - Fixed: `ignoreFiles` handling of absolute paths.
  1089. - Fixed: `ignoreFiles` uses the `configBasedir` option to interpret relative paths.
  1090. ## 4.2.0
  1091. - Added: support for custom messages with a `message` secondary property on any rule.
  1092. - Fixed: CLI always ignores contents of `node_modules` and `bower_components` directories.
  1093. - Fixed: bug preventing CLI from understanding absolute paths in `--config` argument.
  1094. - Fixed: bug causing `indentation` to stumble over declarations with semicolons on their own lines.
  1095. ## 4.1.0
  1096. - Added: helpful option validation message when object is expected but non-object provided.
  1097. - Fixed: `selector-no-id` no longer warns about Sass interpolation when multiple interpolations are used in a selector.
  1098. ## 4.0.0
  1099. - Removed: support for legacy numbered severities.
  1100. - Added: support for extensions on `.stylelintrc` files (by upgrading cosmiconfig).
  1101. - Added: `ignore: "non-comments"` option to `max-line-length`.
  1102. - Fixed: `function-whitespace-after` does not expect space between `)` and `}`, so it handles Sass interpolation better.
  1103. ## 3.2.3
  1104. - Fixed: `selector-no-vendor-prefix` now handles custom-property-sets.
  1105. ## 3.2.2
  1106. - Fixed: `selector-no-type` ignores `nth-child` pseudo-classes and `@keyframes` selectors.
  1107. ## 3.2.1
  1108. - Fixed: `max-line-length` handles `url()` functions better.
  1109. - Fixed: `block-opening-brace-newline-after` and `declaration-block-semicolon-newline-after` handle end-of-line comments better.
  1110. ## 3.2.0
  1111. - Added: `legacyNumberedSeverities` config property to force the legacy severity system.
  1112. - Added: `selector-no-id` ignores Sass-style interpolation.
  1113. - Fixed: bug causing extended config to override the config that extends it.
  1114. ## 3.1.4
  1115. - Fixed: stopped hijacking `--config` property in PostCSS and Node.js APIs. Still using it in the CLI.
  1116. ## 3.1.3
  1117. - Fixed: bug preventing the disabling of rules analyzing the `root` node, including: `max-line-length`, `max-empty-lines`, `no-eol-whitespace`, `no-missing-eof-newline`, and `string-quotes`.
  1118. - Fixed: bug causing `rule-properties-order` to get confused by properties with an unspecified order.
  1119. ## 3.1.2
  1120. - Fixed: bug causing an error when `null` was used on rules whose primary options are arrays.
  1121. ## 3.1.1
  1122. - Fixed: Documentation improvements.
  1123. ## 3.1.0
  1124. - Added: `stylelint-commands` `ignore` option to `comment-empty-line-before`.
  1125. - Fixed: v3 regression causing bug in `rule-properties-order` and potentially other rules that accept arrays as primary options.
  1126. - Fixed: `no-missing-eof-newline` no longer complains about completely empty files.
  1127. ## 3.0.3
  1128. - Fixed: list of rules within documentation.
  1129. ## 3.0.0-3.0.2
  1130. - Removed: `nesting-block-opening-brace-space-before` and `nesting-block-opening-brace-newline-before` rules.
  1131. - Deprecated: numbered severities (0, 1, 2) and will be disabled in `4.0`.
  1132. - Changed: renamed `rule-single-line-max-declarations` to `declaration-block-single-line-max-declarations` and changed scope of the single-line to the declaration block.
  1133. - Changed: renamed `rule-no-single-line` to `declaration-block-no-single-line` and changed scope of the single-line to the declaration block.
  1134. - Changed: renamed the `function-space-after` rule to `function-whitespace-after`.
  1135. - Changed: renamed the `comment-space-inside` rule to `comment-whitespace-inside`.
  1136. - Changed: renamed the `no-multiple-empty-lines` rule to `max-empty-lines` (takes an `int` as option).
  1137. - Changed: `plugins` is now an array instead of an object. And plugins should be created with `stylelint.createPlugin()`.
  1138. - Added: cosmiconfig, which means the following:
  1139. - support for YAML `.stylelintrc`
  1140. - support for `stylelint.config.js`
  1141. - support for `stylelint` property in `package.json`
  1142. - alternate config loading system, which stops at the first config found
  1143. - Added: asynchronicity to the PostCSS plugin.
  1144. - Added: `ignoreFiles` option to config.
  1145. - Added: `configFile` option to Node.js API.
  1146. - Fixed: `comment-whitespace-inside` now ignores copyright (`/*!`) and sourcemap (`/*#`) comments.
  1147. - Fixed: `rule-no-duplicate-properties` now ignores the `src` property.
  1148. ## 2.3.7
  1149. - Fixed: `function-calc-no-unspaced-operator` ignores characters in `$sass` and `@less` variables.
  1150. - Fixed: `rule-properties-order` allows comments at the top of groups that expect newlines before them.
  1151. - Fixed: `styleSearch()` and the rules it powers will not trip up on single-line (`//`) comments.
  1152. - Fixed: `selector-combinator-space-before` now better handles nested selectors starting with combinators.
  1153. - Fixed: `rule-properties-order` now deals property with `-moz-osx-font-smoothing`.
  1154. ## 2.3.6
  1155. - Fixed: improved documentation of CLI globbing possibilities.
  1156. - Fixed: `rule-properties-order` now accounts for property names containing multiple hyphens.
  1157. - Fixed: `rule-properties-order` grouping bug.
  1158. ## 2.3.5
  1159. - Added: error about undefined severities blaming stylelint for the bug.
  1160. - Fixed: `selector-pseudo-element-colon-notation` typo in rule name resulting in undefined severity.
  1161. ## 2.3.4
  1162. - Fixed: `dist/` build.
  1163. ## 2.3.3
  1164. - Fixed: `property-whitelist`, `rule-no-duplicate-properties`, and `rule-properties-order` ignore variables (`$sass`, `@less`, and `--custom-property`).
  1165. - Fixed: `root-no-standard-properties` ignores `$sass` and `@less` variables.
  1166. - Fixed: `comment-empty-line-before` and `comment-space-inside` no longer complain about `//` comments.
  1167. ## 2.3.2
  1168. - Fixed: `number-no-trailing-zeros` no longer flags at-import at-rules.
  1169. ## 2.3.1
  1170. - Fixed: `selector-no-type` no longer flags the _nesting selector_ (`&`).
  1171. ## 2.3.0
  1172. - Added: `configFile` option to PostCSS plugin.
  1173. - Fixed: `function-parentheses-newline-inside` and `function-parentheses-space-inside` bug with nested functions.
  1174. ## 2.2.0
  1175. - Added: `selector-class-pattern` rule.
  1176. - Added: `selector-id-pattern` rule.
  1177. - Added: `function-parentheses-newline-inside` rule.
  1178. - Added: `"always-single-line"` and `"never-single-line"` options to `function-parentheses-space-inside`.
  1179. - Fixed: CLI `syntax` argument bug.
  1180. ## 2.1.0
  1181. - Added: `color-no-hex` rule.
  1182. - Added: `color-no-named` rule.
  1183. - Added: `function-blacklist` rule.
  1184. - Added: `function-whitelist` rule.
  1185. - Added: `unit-blacklist` rule.
  1186. - Added: `unit-whitelist` rule.
  1187. - Added: `property-unit-blacklist` rule.
  1188. - Added: `property-unit-whitelist` rule.
  1189. - Added: `rule-single-line-max-declarations` rule.
  1190. - Added: `max-line-length` rule.
  1191. - Added: `first-nested` exception to `comment-empty-line-before`.
  1192. - Added: single value options to `*-blacklist` & `-*whitelist` rules e.g. `{ "function-blacklist": "calc"}`
  1193. - Added: support for flexible groups to `rule-properties-order`.
  1194. - Added: support for an optional empty line between each group to `rule-properties-order`.
  1195. - Added: support for mathematical signs in front of Sass and Less variables in `function-calc-no-unspaced-operator`.
  1196. - Added: support for arbitrary whitespace after function in `function-space-after`.
  1197. - Added: support for arbitrary whitespace at the edge of comments in `comment-space-inside`.
  1198. - Fixed: `comment-space-inside` allows any number of asterisks at the beginning and end of comments.
  1199. - Fixed: bug causing `{ unspecified: "bottom }"` option not to be applied within `rule-properties-order`.
  1200. - Fixed: bug causing `function-comma-*` whitespace rules to improperly judge whether to enforce single- or multi-line options.
  1201. - Fixed: bug when loading plugins from an extended config
  1202. - Fixed: indentation for function arguments, by ignoring them.
  1203. ## 2.0.0
  1204. - Changed: plugins are now included and configured via a "locator", rather than either being `required` or being inserted directly into the configuration object as a function.
  1205. - Added: CLI.
  1206. - Added: standalone Node.js API.
  1207. - Added: quiet mode to CLI and Node.js API.
  1208. - Added: support for formatters, including custom ones, to CLI and Node.js API.
  1209. - Added: `string` and `json` formatters.
  1210. - Added: support for using `.stylelintrc` JSON file.
  1211. - Added: support for extending existing configs using the `extends` property.
  1212. - Added: support for SCSS syntax parsing to CLI and Node.js API.
  1213. - Added: `function-comma-newline-after` rule.
  1214. - Added: `function-comma-newline-before` rule.
  1215. - Added: `"always-single-line"` and `"never-single-line"` options to `function-comma-space-after` rule.
  1216. - Added: `"always-single-line"` and `"never-single-line"` options to `function-comma-space-before` rule.
  1217. ## 1.2.1
  1218. - Fixed: the `media-query-list-comma-*` rules now only apply to `@media` statements.
  1219. ## 1.2.0
  1220. - Added: `function-linear-gradient-no-nonstandard-direction` rule.
  1221. - Added: `rule-properties-order` now by default ignores the order of properties left out of your specified array; and the options `"top"`, `"bottom"`, and `"ignore"` are provided to change that behavior.
  1222. - Added: `rule-properties-order` now looks for roots of hyphenated properties in custom arrays so each extension (e.g. `padding-top` as an extension of `padding`) does not need to be specified individually.
  1223. - Added: `"always-single-line"` option to `declaration-colon-space-after`.
  1224. - Added: support for declarations directly on root (e.g. Sass variable declarations).
  1225. - Fixed: `declaration-colon-newline-after` `"always-multi-line"` warning message.
  1226. ## 1.1.0
  1227. - Added: `declaration-colon-newline-after` rule.
  1228. - Added: the `indentation` rule now checks indentation of multi-line at-rule params, unless there's the `except` option of `param`.
  1229. - Added: support for end-of-line comments in `selector-list-comma-newline-after`.
  1230. - Added: protection against `#${sass-interpolation}` in rules checking for hex colors.
  1231. - Added: support for strings (translated to RegExps) in `custom-property-pattern` and `custom-media-pattern`.
  1232. - Fixed: bug preventing various rules from registering the correct rule names in their warnings, and therefore also preventing them from being disabled with comments.
  1233. - Fixed: the `color-no-invalid-hex` rule no longer flags hashes in `url()` arguments.
  1234. - Fixed: rules using `node.raw()` instead of `node.raws` to avoid expected errors.
  1235. ## 1.0.1
  1236. - Fixed: `postcss-selector-parser` updated to improve location accuracy for `selector-no-*` rules.
  1237. ## 1.0.0
  1238. - Removed: compatibility with PostCSS `4.x`.
  1239. - Added: compatibility with PostCSS `5.0.2+`.
  1240. - Fixed: the accuracy of reported line numbers and columns.
  1241. ## 0.8.0
  1242. - Added: `after-comment` `ignore` option to the `at-rule-empty-line-before` rule.
  1243. - Fixed: the `indentation` rule now correctly handles `*` hacks on property names.
  1244. - Fixed: the `media-feature-colon-space-after` and `media-feature-colon-space-before` rules now only apply to `@media` statements.
  1245. - Fixed: the `rule-no-shorthand-property-overrides` rule message is now consistent with the other messages.
  1246. ## 0.7.0
  1247. - Added: invalid options cause the rule to abort instead of performing meaningless checks.
  1248. - Added: special warning for missing required options from `validateOptions()`.
  1249. ## 0.6.2
  1250. - Fixed: npm package no longer includes test files (reducing package size by 500KB).
  1251. ## 0.6.1
  1252. - Fixed: the `rule-properties-order` and `rule-no-duplicate-properties` rules now correctly check inside @rules.
  1253. ## 0.6.0
  1254. - Added: `validateOptions` to `stylelint.utils` for use by authors of custom rules.
  1255. - Added: `custom-media-pattern` rule.
  1256. - Added: `number-max-precision` rule.
  1257. ## 0.5.0
  1258. - Added: validation of all rule options.
  1259. ## 0.4.1
  1260. - Removed: `ruleTester` from `stylelint.utils` because of the additional dependencies it forces.
  1261. ## 0.4.0
  1262. - Removed: `jsesc` devDependency.
  1263. - Added: `rule-no-shorthand-property-overrides` rule.
  1264. - Added: `ruleTester` to `stylelint.utils` for use by authors of custom rules.
  1265. ## 0.3.2
  1266. - Fixed: `hierarchicalSelectors` bug in `indentation` rule.
  1267. ## 0.3.1
  1268. - Fixed: `~=` is no longer mistaken for combinator in `selector-combinator-space-*`.
  1269. ## 0.3.0
  1270. - Added: exposure of `report`, `ruleMessages`, and `styleSearch` in `stylelint.utils` for use by external plugin rules.
  1271. - Added: plugin rule support.
  1272. - Added: `hierarchicalSelectors` option to `indentation` rule.
  1273. - Added: `nesting-block-opening-brace-space-before` rule.
  1274. - Added: `nesting-block-opening-brace-newline-before` rule.
  1275. - Fixed: the `color-hex-case` rule message is now consistent with the `color-hex-length` rule.
  1276. - Fixed: the `property-blacklist` rule message is now consistent with the `property-whitelist` rule.
  1277. - Fixed: a typo in the `comment-space-inside` rule message.
  1278. ## 0.2.0
  1279. - Added: `color-hex-case` rule.
  1280. - Added: `color-hex-length` rule.
  1281. - Fixed: formalized selector-indentation-checking within the `indentation` rule.
  1282. - Fixed: allow for arbitrary whitespace after the newline in the `selector-list-comma-newline-*` rules.
  1283. - Fixed: `selector-combinator-space-*` no longer checks `:nth-child()` arguments.
  1284. ## 0.1.2
  1285. - Fixed: nesting support for the `block-opening-brace-newline-before` rule.
  1286. - Fixed: nesting support for the `block-opening-brace-space-before` rule.
  1287. - Fixed: nesting support for the `rule-trailing-semicolon` rule.
  1288. ## 0.1.1
  1289. - Fixed: nesting support for the `rule-no-duplicate-properties` rule.
  1290. - Fixed: nesting support for the `rule-properties-order` rule.
  1291. - Fixed: whitespace rules accommodate Windows CR-LF line endings.
  1292. ## 0.1.0
  1293. - Added: ability to disable rules via comments in the CSS.
  1294. - Added: `at-rule-empty-line-before` rule.
  1295. - Added: `at-rule-no-vendor-prefix` rule.
  1296. - Added: `block-closing-brace-newline-after` rule.
  1297. - Added: `block-closing-brace-newline-before` rule.
  1298. - Added: `block-closing-brace-space-after` rule.
  1299. - Added: `block-closing-brace-space-before` rule.
  1300. - Added: `block-no-empty` rule.
  1301. - Added: `block-opening-brace-newline-after` rule.
  1302. - Added: `block-opening-brace-newline-before` rule.
  1303. - Added: `block-opening-brace-space-after` rule.
  1304. - Added: `block-opening-brace-space-before` rule.
  1305. - Added: `color-no-invalid-hex` rule.
  1306. - Added: `comment-empty-line-before` rule.
  1307. - Added: `comment-space-inside` rule.
  1308. - Added: `custom-property-no-outside-root` rule.
  1309. - Added: `custom-property-pattern` rule.
  1310. - Added: `declaration-bang-space-after` rule.
  1311. - Added: `declaration-bang-space-before` rule.
  1312. - Added: `declaration-block-semicolon-newline-after` rule.
  1313. - Added: `declaration-block-semicolon-newline-before` rule.
  1314. - Added: `declaration-block-semicolon-space-after` rule.
  1315. - Added: `declaration-block-semicolon-space-before` rule.
  1316. - Added: `declaration-colon-space-after` rule.
  1317. - Added: `declaration-colon-space-before` rule.
  1318. - Added: `declaration-no-important` rule.
  1319. - Added: `function-calc-no-unspaced-operator` rule.
  1320. - Added: `function-comma-space-after` rule.
  1321. - Added: `function-comma-space-before` rule.
  1322. - Added: `function-parentheses-space-inside` rule.
  1323. - Added: `function-space-after` rule.
  1324. - Added: `function-url-quotes` rule.
  1325. - Added: `indentation` rule.
  1326. - Added: `media-feature-colon-space-after` rule.
  1327. - Added: `media-feature-colon-space-before` rule.
  1328. - Added: `media-feature-name-no-vendor-prefix` rule.
  1329. - Added: `media-feature-range-operator-space-after` rule.
  1330. - Added: `media-feature-range-operator-space-before` rule.
  1331. - Added: `media-query-list-comma-newline-after` rule.
  1332. - Added: `media-query-list-comma-newline-before` rule.
  1333. - Added: `media-query-list-comma-space-after` rule.
  1334. - Added: `media-query-list-comma-space-before` rule.
  1335. - Added: `media-query-parentheses-space-inside` rule.
  1336. - Added: `no-eol-whitespace` rule.
  1337. - Added: `no-missing-eof-newline` rule.
  1338. - Added: `no-multiple-empty-lines` rule.
  1339. - Added: `number-leading-zero` rule.
  1340. - Added: `number-no-trailing-zeros` rule.
  1341. - Added: `number-zero-length-no-unit` rule.
  1342. - Added: `property-blacklist` rule.
  1343. - Added: `property-no-vendor-prefix` rule.
  1344. - Added: `property-whitelist` rule.
  1345. - Added: `root-no-standard-properties` rule.
  1346. - Added: `rule-nested-empty-line-before` rule.
  1347. - Added: `rule-no-duplicate-properties` rule.
  1348. - Added: `rule-no-single-line` rule.
  1349. - Added: `rule-non-nested-empty-line-before` rule.
  1350. - Added: `rule-properties-order` rule.
  1351. - Added: `rule-trailing-semicolon` rule.
  1352. - Added: `selector-combinator-space-after` rule.
  1353. - Added: `selector-combinator-space-before` rule.
  1354. - Added: `selector-list-comma-newline-after` rule.
  1355. - Added: `selector-list-comma-newline-before` rule.
  1356. - Added: `selector-list-comma-space-after` rule.
  1357. - Added: `selector-list-comma-space-before` rule.
  1358. - Added: `selector-no-attribute` rule.
  1359. - Added: `selector-no-combinator` rule.
  1360. - Added: `selector-no-id` rule.
  1361. - Added: `selector-no-type` rule.
  1362. - Added: `selector-no-universal` rule.
  1363. - Added: `selector-no-vendor-prefix` rule.
  1364. - Added: `selector-pseudo-element-colon-notation` rule.
  1365. - Added: `selector-root-no-composition` rule.
  1366. - Added: `string-quotes` rule.
  1367. - Added: `value-list-comma-newline-after` rule.
  1368. - Added: `value-list-comma-newline-before` rule.
  1369. - Added: `value-list-comma-space-after` rule.
  1370. - Added: `value-list-comma-space-before` rule.
  1371. - Added: `value-no-vendor-prefix` rule.