.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / CHANGELOG.md
1 # 8.4.0
2
3 -   Added: `except: ["after-closing-brace"]` to `block-closing-brace-empty-line-before` ([#3011](https://github.com/stylelint/stylelint/pull/3011)).
4 -   Fixed: unmet peer dependency warning for `postcss-sass` ([#3040](https://github.com/stylelint/stylelint/pull/3040)).
5 -   Fixed: false positives for CSS within comments in `*.pcss` files ([#3064](https://github.com/stylelint/stylelint/pull/3064)).
6 -   Fixed: `font-family-no-missing-generic-family-keyword` configuration ([#3039](https://github.com/stylelint/stylelint/pull/3039)).
7 -   Fixed: `indentation` autofix for HTML ([#3044](https://github.com/stylelint/stylelint/pull/3044)).
8
9 # 8.3.1
10
11 -   Fixed: `font-family-no-missing-generic-family-keyword` false positives for at-font-face ([#3034](https://github.com/stylelint/stylelint/issues/3034)).
12
13 # 8.3.0
14
15 -   Added: autofix support for stdin input ([#2787](https://github.com/stylelint/stylelint/pull/2787)).
16 -   Added: support for `<style>` tags and markdown fences in `.vue` and `.html` files ([#2975](https://github.com/stylelint/stylelint/pull/2975)).
17 -   Added: `font-family-no-missing-generic-family-keyword` rule ([#2930](https://github.com/stylelint/stylelint/pull/2930)).
18 -   Added: `no-duplicate-at-import-rules` rule ([#2963](https://github.com/stylelint/stylelint/pull/2963)).
19 -   Added: `number-leading-zero` autofix ([#2921](https://github.com/stylelint/stylelint/issues/2921)).
20 -   Added: `number-no-trailing-zeros` autofix ([#2947](https://github.com/stylelint/stylelint/issues/2947)).
21 -   Added: `shorthand-property-no-redundant-values` autofix ([#2956](https://github.com/stylelint/stylelint/issues/2956)).
22 -   Added: `string-quotes` autofix ([#2959](https://github.com/stylelint/stylelint/pull/2959)).
23 -   Added: `ignore: ["custom-properties"]` option to `length-zero-no-unit` ([#2967](https://github.com/stylelint/stylelint/pull/2967)).
24 -   Added: `except: ["inside-block"]` option to `rule-empty-line-before` ([#2982](https://github.com/stylelint/stylelint/pull/2982)).
25 -   Added: `ignoreValues` to `value-no-vendor-prefix` ([#3015](https://github.com/stylelint/stylelint/pull/3015)).
26 -   Added: `ignoreMediaFeatureNames` to `unit-blacklist` ([#3027](https://github.com/stylelint/stylelint/pull/3027)).
27 -   Fixed: `comment-empty-line-before` false positives for shared-line comments ([#2986](https://github.com/stylelint/stylelint/issues/2986)).
28 -   Fixed: `unit-*` false positives for spaceless multiplication ([#2948](https://github.com/stylelint/stylelint/issues/2948)).
29
30 # 8.2.0
31
32 -   Added: autofix of syntax errors in standard CSS e.g. unclosed braces and brackets ([#2886](https://github.com/stylelint/stylelint/issues/2886)).
33 -   Added: `length-zero-no-unit` autofix ([#2861](https://github.com/stylelint/stylelint/issues/2861)).
34 -   Added: `selector-max-specificity` support for level 4 evaluation context pseudo-classes ([#2857](https://github.com/stylelint/stylelint/issues/2857)).
35 -   Added: `ignoreUnits` option to `number-max-precision` ([#2941](https://github.com/stylelint/stylelint/pull/2941)).
36 -   Added: `ignoreSelectors` option to `selector-max-specificity` ([#2857](https://github.com/stylelint/stylelint/pull/2857)).
37 -   Added: `ignoreProperties` option to `value-keyword-case` ([#2937](https://github.com/stylelint/stylelint/pull/2937)).
38 -   Fixed: `*-empty-line-before` false negatives and positives when two or more `except: [*]` options were triggered ([#2920](https://github.com/stylelint/stylelint/issues/2920)).
39 -   Fixed: `*-empty-line-before` false positives for CSS in HTML ([#2854](https://github.com/stylelint/stylelint/issues/2854)).
40 -   Fixed: `rule-empty-line-before` false positives for `ignore: ["inside-block"]` and CSS in HTML ([#2894](https://github.com/stylelint/stylelint/issues/2894)).
41 -   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)).
42 -   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)).
43 -   Fixed: `selector-pseudo-class-no-unknown` false positives when using chained pseudo-classes ([#2810](https://github.com/stylelint/stylelint/issues/2810)).
44 -   Fixed: `string-quotes` false positives for `@charset` and single quotes ([#2902](https://github.com/stylelint/stylelint/issues/2902)).
45 -   Fixed: `unit-no-unknown` false positives for spaceless multiplication and division in `calc()` functions ([#2848](https://github.com/stylelint/stylelint/issues/2848)).
46
47 # 8.1.1
48
49 -   Fixed: `--ignore-pattern` in CLI ([#2851](https://github.com/stylelint/stylelint/issues/2851)).
50
51 # 8.1.0
52
53 -   Added: Allow specifying `codeFilename` to `createStylelintResult` for raw code linting standalone API ([#2450](https://github.com/stylelint/stylelint/issues/2450)).
54 -   Added: `ignorePattern` option (`--ignore-pattern` in CLI), to allow patterns of files to ignored ([#2834](https://github.com/stylelint/stylelint/issues/2834)).
55 -   Added: More rules now support experimental autofixing. Use `--fix` CLI parameter or `fix: true` Node API options property. Newly supported rules:
56     -   `color-hex-length` ([#2781](https://github.com/stylelint/stylelint/pull/2781)).
57     -   `no-missing-end-of-source-newline` ([#2772](https://github.com/stylelint/stylelint/pull/2772)).
58 -   Fixed: `*-empty-line-before` false positives shared-line comments and `"first-nested"` option ([#2827](https://github.com/stylelint/stylelint/issues/2827)).
59 -   Fixed: `color-hex-length` false positives for id references in `url` functions ([#2806](https://github.com/stylelint/stylelint/issues/2806)).
60 -   Fixed: `indentation` false positives for Less parametric mixins with rule block/snippet ([#2744](https://github.com/stylelint/stylelint/pull/2744)).
61 -   Fixed: `no-empty-source` compatability with `postcss-html` custom syntax ([#2798](https://github.com/stylelint/stylelint/issues/2798)).
62 -   Fixed: `no-extra-semicolons` false negatives where instances were not detected when followed by multiple comments ([#2678](https://github.com/stylelint/stylelint/issues/2678)).
63 -   Fixed: `selector-max-specificity` cannot parse selector violation for Less mixins ([#2677](https://github.com/stylelint/stylelint/pull/2677)).
64
65 # 8.0.0
66
67 This release is accompanied by:
68
69 -   A new [semantic version policy](README.md#semantic-versioning-policy). 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)).
70 -   A new [VISION document](VISION.md), complemented by ([#2704](https://github.com/stylelint/stylelint/pull/2704)):
71     -   The restructuring of the [list of rules](docs/user-guide/rules.md) into three groups:
72         -   [Possible errors](docs/user-guide/rules.md#possible-errors).
73         -   [Limit language features](docs/user-guide/rules.md#limit-language-features).
74         -   [Stylistic issues](docs/user-guide/rules.md#stylistic-issues).
75     -   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.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.md#stylistic-issues).
76
77 Changes:
78
79 -   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)).
80     -   `block-no-single-line`.
81     -   `custom-property-no-outside-root`
82     -   `declaration-block-no-ignored-properties`.
83     -   `declaration-block-properties-order`.
84     -   `function-url-data-uris`.
85     -   `media-feature-no-missing-punctuation`.
86     -   `no-browser-hacks`.
87     -   `no-indistinguishable-colors`.
88     -   `no-unsupported-browser-features`.
89     -   `root-no-standard-properties`
90     -   `rule-nested-empty-line-before`.
91     -   `rule-non-nested-empty-line-before`.
92     -   `selector-no-attribute`.
93     -   `selector-no-combinator`.
94     -   `selector-no-empty`.
95     -   `selector-no-id`.
96     -   `selector-no-type`.
97     -   `selector-no-universal`.
98     -   `selector-root-no-composition`.
99     -   `stylelint-disable-reason`.
100     -   `time-no-imperceptible`.
101 -   Removed: the 4 options deprecated in [`7.8.0`](#780) ([#2433](https://github.com/stylelint/stylelint/issues/2433)).
102     -   `"all-nested"` option for `at-rule-empty-line-before`.
103     -   `"blockless-group"` option for `at-rule-empty-line-before`.
104     -   `"between-comments"` option for `comment-empty-line-before`.
105     -   `"at-rules-without-declaration-blocks"` option for `max-nesting-depth`.
106 -   Changed: compatibility with `postcss` from `@5` to `@6` ([#2561](https://github.com/stylelint/stylelint/issues/2561)).
107 -   Changed: parse errors now trigger exit with non-zero code ([#2713](https://github.com/stylelint/stylelint/issues/2713)).
108 -   Changed: `report-needless-disables` now exits with non-zero code ([#2341](https://github.com/stylelint/stylelint/issues/2341)).
109 -   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)).
110 -   Changed: `*-empty-line-before` now correctly handle shared-line comments ([#2262](https://github.com/stylelint/stylelint/issues/2262)).
111 -   Changed: `*-empty-line-before` now consider line as empty if it contains whitespace only ([#2440](https://github.com/stylelint/stylelint/pull/2440)).
112 -   Changed: `function-linear-gradient-no-nonstandard-direction` now checks all linear-gradients in a value list ([#2496](https://github.com/stylelint/stylelint/pull/2496)).
113 -   Changed: `selector-max-compound-selectors` now checks all resolved selectors, rather than just the deepest ([#2350](https://github.com/stylelint/stylelint/issues/2350)).
114 -   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)).
115 -   Added: more efficient file ignoring with `.stylelintignore` ([#2464](https://github.com/stylelint/stylelint/pull/2464)).
116 -   Added: `ignore: ["child"]` option to `selector-max-type` ([#2701](https://github.com/stylelint/stylelint/pull/2701)).
117 -   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)).
118 -   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)).
119
120 # 7.13.0
121
122 -   Added: `ignoreAttributes` option to `selector-max-attribute` ([#2722](https://github.com/stylelint/stylelint/pull/2722)).
123 -   Fixed: `selector-combinator-space-*` false positives for CSS namespaced type selectors ([#2715](https://github.com/stylelint/stylelint/pull/2715)).
124 -   Fixed: `selector-max-specificity` now ignores nested non-standard selectors ([#2685](https://github.com/stylelint/stylelint/pull/2685)).
125
126 # 7.12.0
127
128 -   Deprecated: 6 rules, each has been replaced by a more configurable alternative ([#2679](https://github.com/stylelint/stylelint/pull/2679)).
129     -   `function-url-data-uris` rule. Use either `function-url-scheme-blacklist` or `function-url-scheme-whitelist`.
130     -   `selector-no-attribute` rule. Use `selector-max-attribute` with `0` as its primary option.
131     -   `selector-no-combinator` rule. Use `selector-max-combinators` with `0` as its primary option.
132     -   `selector-no-id` rule. Use `selector-max-id` with `0` as its primary option.
133     -   `selector-no-type` rule. Use `selector-max-type` with `0` as its primary option.
134     -   `selector-no-universal` rule. Use `selector-max-universal` with `0` as its primary option.
135 -   Added: `function-url-scheme-blacklist` rule ([#2626](https://github.com/stylelint/stylelint/pull/2626)).
136 -   Added: `function-url-scheme-whitelist` regex support ([#2662](https://github.com/stylelint/stylelint/pull/2662)).
137 -   Added: `selector-max-attribute` rule ([#2628](https://github.com/stylelint/stylelint/pull/2628)).
138 -   Added: `selector-max-combinators` rule ([#2658](https://github.com/stylelint/stylelint/pull/2658)).
139 -   Added: `selector-max-id` rule ([#2654](https://github.com/stylelint/stylelint/pull/2654)).
140 -   Added: `selector-max-type` rule ([#2665](https://github.com/stylelint/stylelint/pull/2665)).
141 -   Added: `selector-max-universal` rule ([#2653](https://github.com/stylelint/stylelint/pull/2653)).
142 -   Fixed: `--fix` no longer crashes when used with ignored files ([#2652](https://github.com/stylelint/stylelint/pull/2652)).
143 -   Fixed: `max-*` rules now use singular and plural nouns in their messages ([#2663](https://github.com/stylelint/stylelint/pull/2663)).
144
145 # 7.11.1
146
147 -   Fixed: `media-feature-name-*list` now accept arrays for their primary options ([#2632](https://github.com/stylelint/stylelint/pull/2632)).
148 -   Fixed: `selector-*` now ignore custom property sets ([#2634](https://github.com/stylelint/stylelint/pull/2634)).
149 -   Fixed: `selector-pseudo-class-no-unknown` now ignores Less `:extend` ([#2625](https://github.com/stylelint/stylelint/pull/2625)).
150
151 # 7.11.0
152
153 -   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 API options property. Supported rules:
154     -   `at-rule-empty-line-before`
155     -   `at-rule-name-case`
156     -   `color-hex-case`
157     -   `comment-empty-line-before`
158     -   `custom-property-empty-line-before`
159     -   `declaration-empty-line-before`
160     -   `indentation`
161     -   `rule-empty-line-before`
162 -   Added: `selector-max-class` rule.
163 -   Added: `ignore: ["custom-elements"]` option to `selector-type-no-unknown` ([#2366](https://github.com/stylelint/stylelint/pull/2366)).
164 -   Fixed: "Cannot find module 'pify'" regression in node@4 with npm@2 ([#2614](https://github.com/stylelint/stylelint/pull/2614)).
165 -   Fixed: no error is thrown when linting a string with `cache` enabled ([#2494](https://github.com/stylelint/stylelint/pull/2494)).
166 -   Fixed: Less `:extend` is now ignored ([#2571](https://github.com/stylelint/stylelint/pull/2571)).
167 -   Fixed: `function-parentheses-space-inside` now ignores functions without parameters ([#2587](https://github.com/stylelint/stylelint/pull/2587)).
168 -   Fixed: `length-zero-no-unit` now correctly handles newlines and no spaces after colon ([#2477](https://github.com/stylelint/stylelint/pull/2477)).
169 -   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)).
170 -   Fixed: `selector-descendant-combinator-no-non-space` now ignores Less guards ([#2557](https://github.com/stylelint/stylelint/pull/2557)).
171 -   Fixed: `selector-pseudo-class-no-unknown` now checks `@page` at-rules and supports `@page` pseudo-classes ([#2445](https://github.com/stylelint/stylelint/pull/2445)).
172 -   Fixed: `selector-pseudo-class-no-unknown` now considers `focus-ring`, `playing` and `paused` to be known ([#2507](https://github.com/stylelint/stylelint/pull/2507)).
173 -   Fixed: `selector-type-no-unknown` now ignores MathML tags ([#2478](https://github.com/stylelint/stylelint/pull/2478)).
174 -   Fixed: `selector-type-no-unknown` now ignores the `/deep/` shadow-piercing combinator ([#2508](https://github.com/stylelint/stylelint/pull/2508)).
175 -   Fixed: `value-keyword-case` now ignores variables with signs ([#2558](https://github.com/stylelint/stylelint/pull/2558)).
176
177 # 7.10.1
178
179 -   Fixed: scope is kept when using `schema.preceedingPlugins` ([#2455](https://github.com/stylelint/stylelint/pull/2455)).
180
181 # 7.10.0
182
183 -   Added: support for asynchronous plugin rules ([#2351](https://github.com/stylelint/stylelint/pull/2351)).
184 -   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)).
185 -   Added: `at-rule-semicolon-space-before` rule ([#2388](https://github.com/stylelint/stylelint/pull/2388)).
186 -   Added: `ignore: ["comments"]` to `max-empty-lines` ([#2401](https://github.com/stylelint/stylelint/pull/2401)).
187 -   Added: `ignore: ["default-namespace"]` to `selector-type-no-unknown` ([#2461](https://github.com/stylelint/stylelint/pull/2461)).
188 -   Added: `ignoreDefaultNamespaces` option to `selector-type-no-unknown` ([#2461](https://github.com/stylelint/stylelint/pull/2461)).
189 -   Fixed: more helpful messages when file globs do not match any files ([#2328](https://github.com/stylelint/stylelint/pull/2328)).
190 -   Fixed: `decl/` folder of Flow types is shipped with the package, for consumers that use Flow ([#2322](https://github.com/stylelint/stylelint/issues/2322)).
191 -   Fixed: `function-url-scheme-whitelist` was working incorrectly if more than one URL scheme were specified ([#2447](https://github.com/stylelint/stylelint/pull/2447)).
192 -   Fixed: `no-duplicate-selector` now includes the duplicate selector's first usage line in message ([#2415](https://github.com/stylelint/stylelint/pull/2415)).
193 -   Fixed: `no-extra-semicolons` false positives for comments after custom property sets ([#2396](https://github.com/stylelint/stylelint/pull/2396)).
194 -   Fixed: `value-keyword-case` false positives for `attr`, `counter`, `counters` functions and ` counter-reset` property ([#2407](https://github.com/stylelint/stylelint/pull/2407)).
195 -   Fixed: Less mergeable properties are now ignored ([#2570](https://github.com/stylelint/stylelint/pull/2570)).
196
197 # 7.9.0
198
199 -   Added: `ignoreFontFamilyName` option to `font-family-no-duplicate` ([#2314](https://github.com/stylelint/stylelint/pull/2314)).
200 -   Added: `ignorePattern` option to `max-line-length` ([#2333](https://github.com/stylelint/stylelint/pull/2333)).
201 -   Fixed: update version of `lodash` dependency to match feature usage, fixing a conflict with Modernizr ([#2353](https://github.com/stylelint/stylelint/pull/2353)).
202 -   Fixed: `color-hex-case` false positives for id references in `url` functions ([#2338](https://github.com/stylelint/stylelint/pull/2338)).
203 -   Fixed: `max-line-length` now reports correct column for SCSS comments ([#2340](https://github.com/stylelint/stylelint/pull/2340)).
204 -   Fixed: `selector-class-pattern` false positive in SCSS when combining interpolated and nested selectors ([#2344](https://github.com/stylelint/stylelint/pull/2344)).
205 -   Fixed: `selector-type-case` false positive for placeholder selectors ([#2360](https://github.com/stylelint/stylelint/pull/2360)).
206
207 # 7.8.0
208
209 -   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)).
210     -   `block-no-single-line`. Use `block-opening-brace-newline-after` and `block-closing-brace-newline-before` rules with the option `"always"` instead.
211     -   `declaration-block-properties-order`. Use the [`stylelint-order`](https://github.com/hudochenkov/stylelint-order) plugin pack instead.
212     -   `rule-nested-empty-line-before` and `rule-non-nested-empty-line-before`. Use the new `rule-empty-line-before` rule instead.
213     -   `time-no-imperceptible`. Use the new `time-min-milliseconds` rule with `100` as its primary option.
214     -   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.
215         -   `media-feature-no-missing-punctuation`.
216         -   `selector-no-empty`.
217     -   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.
218         -   `no-browser-hacks`
219         -   `no-indistinguishable-colors`
220         -   `no-unsupported-browser-features`
221     -   The following rules did not seem useful. If you liked these rules, please create plugins for them.
222         -   `custom-property-no-outside-root`
223         -   `root-no-standard-properties`
224         -   `selector-root-no-composition`.
225     -   The following rules did not work well.
226         -   `stylelint-disable-reason` could not enforce providing a reason.
227         -   `declaration-block-no-ignored-properties` could not reliably account for *replaced elements*.
228 -   Deprecated: 4 options ([#2213](https://github.com/stylelint/stylelint/pull/2213)).
229     -   `"all-nested"` option for `at-rule-empty-line-before`. Use the `"inside-block"` option instead.
230     -   `"blockless-group"` option for `at-rule-empty-line-before`. Use the `"blockless-after-blockless"` option instead.
231     -   `"between-comments"` option for `comment-empty-line-before`. Use the `"after-comment"` option instead.
232     -   `"at-rules-without-declaration-blocks"` option for `max-nesting-depth`. Use the `"blockless-at-rules"` option instead.
233 -   Added: `time-min-milliseconds` rule, to replace `time-no-imperceptible` ([#2289](https://github.com/stylelint/stylelint/pull/2289)).
234 -   Added: `except: ["after-same-name"]` option to `at-rule-empty-line-before` ([#2225](https://github.com/stylelint/stylelint/pull/2225)).
235 -   Fixed: `configOverrides` now work with `extends` ([#2295](https://github.com/stylelint/stylelint/pull/2295)).
236 -   Fixed: `max-line-length` no longer reports incorrect column positions for lines with `url()` or `import` ([#2287](https://github.com/stylelint/stylelint/pull/2287)).
237 -   Fixed: `selector-pseudo-class-no-unknown` no longer warns for proprietary webkit pseudo-classes ([#2264](https://github.com/stylelint/stylelint/pull/2264)).
238 -   Fixed: `unit-no-unknown` accepts `fr` units ([#2308](https://github.com/stylelint/stylelint/pull/2308)).
239
240 # 7.7.1
241
242 -   Fixed: ensure only absolute filepaths are passed to processors ([#2207](https://github.com/stylelint/stylelint/pull/2207)).
243
244 # 7.7.0
245
246 -   Added: `stylelint.formatters` exposed in public Node API ([#2190](https://github.com/stylelint/stylelint/pull/2190)).
247 -   Added: `stylelint.utils.checkAgainstRule` for checking CSS against a standard stylelint rule *within your own rule* ([#2173](https://github.com/stylelint/stylelint/pull/2173)).
248 -   Added: `allow-empty-input` flag to CLI ([#2117](https://github.com/stylelint/stylelint/pull/2117)).
249 -   Added: `except: ["after-rule"]` option to `rule-nested-empty-line-before` ([#2188](https://github.com/stylelint/stylelint/pull/2188)).
250 -   Fixed: regression causing `--stdin-filename` in CLI and `codeFilename` in Node API to error if a non-existent filename is provided ([#2128](https://github.com/stylelint/stylelint/pull/2128)).
251 -   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)).
252 -   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)).
253 -   Fixed: bug where some Node errors in special cases did not cause the CLI to exit with a non-zero code ([#2140](https://github.com/stylelint/stylelint/pull/2140))
254 -   Fixed: false positives related to LESS detached rulesets ([#2089](https://github.com/stylelint/stylelint/pull/2089)).
255 -   Fixed: `color-named` now ignores SCSS maps, so map property names can be color names ([#2182](https://github.com/stylelint/stylelint/pull/2182)).
256 -   Fixed: `comment-whitespace-inside` no longer complains about `/*!` comments with non-space whitespace (e.g. newlines) ([#2121](https://github.com/stylelint/stylelint/pull/2121)).
257 -   Fixed: `media-feature-name-no-vendor-prefix` no longer throws syntax errors on unknown unprefixed variants ([#2152](https://github.com/stylelint/stylelint/pull/2152)).
258 -   Fixed: `selector-max-compound-selectors` ignores SCSS nested declarations ([#2102](https://github.com/stylelint/stylelint/pull/2102)).
259 -   Fixed: `selector-pseudo-class-no-unknown` no longer reports false positives for custom selectors ([#2147](https://github.com/stylelint/stylelint/pull/2147)).
260
261 # 7.6.0
262
263 -   Added: option `customSyntax` (for Node API) and `--custom-syntax` (for CLI).
264 -   Added: `font-family-no-duplicate-names` rule.
265 -   Fixed: CLI now understands absolute paths for the `--custom-formatter` option.
266 -   Fixed: the `string` and `verbose` formatters now use `dim` instead of `gray` for greater compatibility with different terminal color schemes.
267 -   Fixed: `media-feature-parentheses-space-inside` handles comments within the parentheses.
268 -   Fixed: `selector-no-qualifying-type` now ignores SCSS `%placeholders`.
269
270 # 7.5.0
271
272 -   Added: `selector-no-empty` rule.
273 -   Fixed: if no config is found relative to the stylesheet, look for one relative to `process.cwd()`.
274 -   Fixed: lookup `ignoreFiles` globs relative to `process.cwd()` if config is directly passed as a JS object and no `configBasedir` is provided.
275 -   Fixed: SugarSS no longer reports wrong column number in `block-no-empty`.
276 -   Fixed: `configOverrides` work with `plugins`, `extends`, and `processors`.
277 -   Fixed: a bug causing inaccuracy in nested `stylelint-disable` and `stylelint-enable` comments.
278 -   Fixed: `function-calc-no-unspaced-operator` false positives for SCSS interpolation.
279 -   Fixed: `no-descending-specificity` now ignores custom property sets.
280 -   Fixed: `value-keyword-case` false positives for some camel-case SVG keywords.
281
282 # 7.4.2
283
284 -   Fixed: regression where using `null` to turn off a rule caused errors.
285
286 # 7.4.1
287
288 -   Fixed: regression where using `null` for rules that take an array for their primary option would trigger a validation warning.
289
290 # 7.4.0
291
292 -   Added: each stylesheet looks up configuration from its own path. Different files can now use different configurations during the same linting process.
293 -   Added: relative path extends, plugins, and processors try to load from `process.cwd()` if they aren't found relative to the invoking configuration.
294 -   Added: `/* stylelint-disable-next-line */` comments.
295 -   Added: `media-feature-name-blacklist` rule.
296 -   Added: `media-feature-name-whitelist` rule.
297 -   Added: `ignore: ["after-declaration"]` option to `declaration-empty-line-before`.
298 -   Added: `except: ["empty"]` option to `function-url-quotes`.
299 -   Fixed: `function-linear-gradient-no-nonstandard-direction` no longer warns when vendor-prefixed linear-gradient properties are used correctly.
300 -   Fixed: `no-extra-semicolons` now ignores the semicolon that comes after the closing brace of a custom property set.
301 -   Fixed: `no-unknown-animations` no longer delivers false positives when there are multiple animation names.
302 -   Fixed: `number-*` rules now ignore numbers in comments and strings.
303 -   Fixed: `value-keyword-case` now ignores system color keywords.
304
305 # 7.3.1
306
307 -   Fixed: regression in 7.3.0 which caused a "Cannot read property 'length' of undefined" error on a certain selector.
308
309 # 7.3.0
310
311 -   Added: `processors` can accept options objects.
312 -   Added: `ignore: ["inside-function"]` option to `color-named`.
313 -   Fixed: `--ignore-path` and `--report-needless-disables` no longer fails when used together.
314 -   Fixed: `block-closing-brace-newline-after` and `block-closing-brace-space-after` now allow a trailing semicolon after the closing brace of a block.
315 -   Fixed: `block-no-single-line` now ignores empty blocks.
316 -   Fixed: `declaration-block-no-ignored-properties` now uses the value of the last occurrence of a triggering property.
317 -   Fixed: `indentation` now correctly handles `_` hacks on property names.
318 -   Fixed: `property-no-unknown` now ignores SCSS nested properties.
319
320 # 7.2.0
321
322 -   Added: `--report-needless-disables` and `reportNeedlessDisables` option.
323 -   Added: `--ignore-disables` and `ignoreDisables` option.
324 -   Added: `--config-basedir` option to CLI.
325 -   Added: `declaration-block-no-redundant-longhand-properties` rule.
326 -   Added: `function-url-scheme-whitelist` rule.
327 -   Added: `media-feature-name-no-unknown` rule.
328 -   Added: `selector-descendant-combinator-no-non-space` rule.
329 -   Added: `value-list-max-empty-lines` rule.
330 -   Added: `ignoreProperties` option to `color-named`.
331 -   Added: `ignore: ["consecutive-duplicates-with-different-values"]` option to `declaration-block-no-duplicate-properties`.
332 -   Added: `ignore: ["comments"]` option to `max-line-length`.
333 -   Added: `ignoreAtRules` option to `max-nesting-depth`.
334 -   Added: `ignoreProperties` option to `unit-blacklist` and `unit-whitelist`
335 -   Fixed: no longer parsing ignored files before ignoring them.
336 -   Fixed: `configFile` and `configBasedir` can now be used together.
337 -   Fixed: `max-line-length` now correctly handles Windows line endings.
338 -   Fixed: `no-descending-specificity` treats selectors with pseudo-elements as distinct from their counterparts without pseudo-classes, because they actually target different elements.
339 -   Fixed: `no-unknown-animations` and `unit-blacklist` now handle numbers without leading zeros.
340 -   Fixed: `root-no-standard-properties` now handles custom property sets.
341 -   Fixed: `selector-no-type` `ignore: ["descendant"]` option now correctly handles descendants within a selector list.
342 -   Fixed: `selector-pseudo-class-no-unknown` now understands the Shadow DOM selectors of `host` and `host-context`.
343 -   Fixed: `selector-pseudo-element-no-unknown` now understands the Shadow DOM selector of `slotted`.
344
345 # 7.1.0
346
347 -   Added: `block-closing-brace-empty-line-before` rule.
348 -   Added: `comment-no-empty` rule.
349 -   Added: `custom-property-empty-line-before` rule.
350 -   Added: `declaration-empty-line-before` rule.
351 -   Added: `media-feature-name-case` rule.
352 -   Added: `selector-nested-pattern` rule.
353 -   Added: `selector-pseudo-class-blacklist` rule.
354 -   Added: `selector-pseudo-class-whitelist` rule.
355 -   Added: regex support to the `ignore*` secondary options of the `*-no-unknown` rules.
356 -   Added: `ignore: ["blockless-after-same-name-blockless"]` option to `at-rule-empty-line-before`.
357 -   Added: `except: ["blockless-after-same-name-blockless"]` option to `at-rule-empty-line-before`.
358 -   Added: `ignore: ["empty-lines"]` option to `no-eol-whitespace`.
359 -   Added: `ignoreTypes` option to `selector-no-type` to whitelist allowed types for selectors.
360 -   Fixed: `color-named` now ignores declarations that accept *custom idents*.
361 -   Fixed: `font-family-name-quotes` correctly handles numerical font weights for the `font` shorthand property.
362 -   Fixed: `indentation` now correctly handles Windows line endings within parentheticals.
363 -   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))`.
364 -   Fixed: `no-descending-specificity` message to correctly show which selector should come first.
365 -   Fixed: `selector-combinator-space-after` and `selector-combinator-space-before` now ignore operators within parenthetical non-standard constructs.
366
367 # 7.0.3
368
369 -   Fixed: bug causing rules in extended configs to be merged with, rather than replaced by, the extending config.
370 -   Fixed: `selector-class-pattern` now ignores fractional keyframes selectors.
371 -   Fixed: `selector-max-specificity` now ignores selectors containing the `matches()` pseudo-class, and warns if the underlying `specificity` module cannot parse the selector.
372 -   Fixed: `selector-no-type` with secondary option `ignore: ["descendant"]` will now resolve nested selectors.
373
374 # 7.0.2
375
376 -   Fixed: `at-rule-blacklist`, `at-rule-whitelist`, `comment-word-blacklist`, `selector-attribute-operator-blacklist`, `selector-attribute-operator-whitelist` now accept array as first option.
377 -   Fixed: `unit-*` rules now ignore CSS hacks.
378
379 # 7.0.1
380
381 -   Fixed: missing `known-css-properties` dependency.
382
383 # 7.0.0
384
385 -   Removed: `--extract` and `extractSyleTagsFromHtml` options. Instead, [build](/docs/developer-guide/processors.md) and [use](/docs/user-guide/configuration.md#processors) processors.
386 -   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`.)
387 -   Removed: `--verbose` CLI flag. Use `--formatter verbose` instead.
388 -   Removed: NodeJS `0.12.x` support. `4.2.1 LTS` or greater is now required.
389 -   Removed: `media-query-parentheses-space-inside` rule. Use the new `media-feature-parentheses-space-inside` rule instead.
390 -   Removed: `no-missing-eof-newline` rule. Use the new rule `no-missing-end-of-source-newline` instead.
391 -   Removed: `number-zero-length-no-unit` rule. Use the `length-zero-no-unit` rule instead.
392 -   Removed: `property-unit-blacklist` rule. Use the `declaration-property-unit-blacklist` rule instead.
393 -   Removed: `property-unit-whitelist` rule. Use the `declaration-property-unit-whitelist` rule instead.
394 -   Removed: `property-value-blacklist` rule. Use the `declaration-property-value-blacklist` rule instead.
395 -   Removed: `property-value-whitelist` rule. Use the `declaration-property-value-whitelist` rule instead.
396 -   Removed: `"emptyLineBefore"` option for `declaration-block-properties-order`. If you use this option, please consider creating a plugin for the community.
397 -   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.
398 -   Removed: `"single"`, `"double"` and `"none"` options for `function-url-quotes`. Instead, use the `"always"` or `"never"` options together with the `string-quotes` rule.
399 -   Removed: `"hierarchicalSelectors"` option for `indentation`.  If you use this option, please consider creating a plugin for the community.
400 -   Removed: `stylelint.utils.cssWordIsVariable()`.
401 -   Removed: `stylelint.utils.styleSearch()`. Use the external [style-search](https://github.com/davidtheclark/style-search) module instead.
402 -   Changed: invalid configuration sets result's `stylelintError` to `true`, which in turn causes CLI to exit with a non-zero code.
403 -   Changed: non-standard syntaxes are automatically inferred from file extensions `.scss`, `.less`, and `.sss`.
404 -   Changed: `.stylelintignore` now uses `.gitignore` syntax, and stylelint looks for it in `process.cwd()`.
405 -   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.
406 -   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.
407 -   Changed: `-v` flag to display version number.
408 -   Changed: `comment-word-blacklist` no longer ignores words within copyright comments.
409 -   Changed: `comment-word-blacklist` will now identify strings within comments, rather than just at the beginning of, when the string option is used.
410 -   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.
411 -   Changed: `declaration-block-no-ignored-properties` now detects use of `overflow`, `overflow-x` and `overflow-y` with `inline` elements.
412 -   Changed: `declaration-block-no-ignored-properties` now ignores the combination of `float` and `display: inline-block | inline`.
413 -   Changed: `font-family-name-quotes` now checks the `font` property in addition to the `font-family` property.
414 -   Changed: `font-family-name-quotes` treats `-apple-*` and `BlinkMacSystemFont` system fonts as keywords that should never be wrapped in quotes.
415 -   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.
416 -   Changed: `keyframe-declaration-no-important` now checks vendor prefixed `@keyframes` at-rules.
417 -   Changed: `selector-attribute-quotes` now checks attribute selectors with whitespace around the operator or inside the brackets.
418 -   Changed: `time-no-imperceptible` now checks vendor prefixed properties.
419 -   Changed: `unit-*` rules now check `@media` values too.
420 -   Added: plugins can allow primary option arrays by setting `ruleFunction.primaryOptionArray = true`.
421 -   Added: [processors](/docs/user-guide/configuration.md#processors).
422 -   Added: `media-feature-parentheses-space-inside` rule.
423 -   Added: `no-missing-end-of-source-newline` rule.
424 -   Added: `property-no-unknown` rule.
425 -   Fixed: Better handling quotes in selector attribute with multiple attributes.
426 -   Fixed: `no-unknown-animations` now classifies vendor prefixed `@keyframes` at-rules as known.
427
428 # 6.9.0
429
430 -   Added: `defaultSeverity` configuration option.
431 -   Added: invoking the CLI with no arguments and no stdin (i.e. just `stylelint`) is equivalent to `stylelint --help`.
432 -   Added: `function-url-no-scheme-relative` rule.
433 -   Added: `selector-attribute-quotes` rule.
434 -   Fixed: the CLI now uses `process.exitCode` with `stdOut` to allow the process to exit naturally and avoid truncating output.
435 -   Fixed: `function-calc-no-unspaced-operator` correctly interprets negative fractional numbers without leading zeros and those wrapped in parentheses.
436 -   Fixed: `no-extra-semicolons` now ignores semicolons after Less mixins.
437 -   Fixed: `number-max-precision` now ignores uppercase and mixed case `@import` at-rules.
438 -   Fixed: `selector-max-specificity` no longer crashes on selectors containing `:not()` pseudo-classes.
439 -   Fixed: `time-no-imperceptible` correctly handles negative time.
440
441 # 6.8.0
442
443 -   Deprecated: `-e` and `--extract` CLI flags, and the `extractStyleTagsFromHtml` node API option. If you use these flags or option, please consider creating a processor for the community.
444 -   Added: `at-rule-no-unknown` rule.
445 -   Added: `no-empty-source` rule.
446 -   Added: `except: ["after-single-line-comment"]` option for `rule-non-nested-empty-line-before`.
447 -   Added: `ignoreProperties: []` option for `declaration-block-no-duplicate-properties`.
448 -   Fixed: accuracy of warning positions for empty blocks when using SugarSS parser.
449
450 # 6.7.1
451
452 -   Fixed: `block-*-brace-*-before` CRLF (`\r\n`) warning positioning.
453 -   Fixed: `no-descending-specificity` now does comparison of specificity using ints, rather than strings.
454 -   Fixed: `selector-no-type` and `selector-type-case` now ignore non-standard keyframe selectors (e.g. within an SCSS mixin).
455 -   Fixed: `selector-type-no-unknown` no longer reports fractional keyframe selectors.
456
457 # 6.7.0
458
459 -   Added: `ignoreFunctions: []` option for `function-name-case`.
460 -   Fixed: rules using `findFontFamily` util correctly interpret `<font-size>/<line-height>` values with unitless line-heights.
461 -   Fixed: `indentation` better understands nested parentheticals that aren't just Sass maps and lists.
462 -   Fixed: `no-unsupported-browser-features` message now clearly states that only *fully* supported features are allowed.
463 -   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.
464 -   Fixed: `selector-type-no-unknown` no longer warns for complex keyframe selectors.
465
466 # 6.6.0
467
468 -   Deprecated: `number-zero-length-no-unit`. Use `length-zero-no-unit` instead.
469 -   Deprecated: `property-*-blacklist` and `property-*-whitelist`. Use `declaration-property-*-blacklist` and `declaration-property-*-whitelist` instead.
470 -   Deprecated: `-v` and `--verbose` CLI flags. Use `-f verbose` or `--formatter verbose` instead.
471 -   Deprecated: `stylelint.util.styleSearch()`. Use the external module [style-search](https://github.com/davidtheclark/style-search) instead.
472 -   Added: option `ignorePath` (for JS) and `--ignore-path` (for CLI).
473 -   Added: `-h` alias for `--help` CLI flag.
474 -   Added: `at-rule-blacklist` rule.
475 -   Added: `at-rule-name-newline-after` rule.
476 -   Added: `at-rule-whitelist` rule.
477 -   Added: `ignore: "blockless-group"` option for `at-rule-empty-line-before`.
478 -   Added: `ignoreAtRules: []` option for `at-rule-empty-line-before`.
479 -   Added: `function-blacklist` now accepts regular expressions.
480 -   Added: `function-whitelist` now accepts regular expressions.
481 -   Fixed: crash when tty columns is reported as zero, which happened when running stylelint on Travis CI in OSX.
482 -   Fixed: selector-targeting rules ignore Less mixins and extends.
483 -   Fixed: `at-rule-name-newline-after` now correctly accepts one *or more* newlines.
484 -   Fixed: `declaration-block-semicolon-newline-before` now correctly accepts one *or more* newlines.
485 -   Fixed: `function-url-quotes` ignores values containing `$sass` and `@less` variables.
486 -   Fixed: `function-whitespace-after` ignores `postcss-simple-vars`-style interpolation.
487 -   Fixed: `indentation` better understands nested parentheticals, like nested Sass maps.
488 -   Fixed: `no-extra-semicolons` reports errors on the correct line.
489 -   Fixed: `selector-combinator-space-*` rules now ignore escaped combinator-like characters.
490 -   Fixed: `selector-type-no-unknown` ignores non-standard usage of percentage keyframe selectors (e.g. within an SCSS mixin).
491 -   Fixed: `value-keyword-case` now ignores custom idents of properties `animation`, `font`, `list-style`.
492
493 # 6.5.1
494
495 -   Deprecated: `"emptyLineBefore"` option for `declaration-block-properties-order`. If you use this option, please consider creating a plugin for the community.
496 -   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.
497 -   Deprecated: `"single"`, `"double"` and `"none"` options for `function-url-quotes`. Instead, use the `"always"` or `"never"` options together with the `string-quotes` rule.
498 -   Deprecated: `"hierarchicalSelectors"` option for `indentation`.  If you use this option, please consider creating a plugin for the community.
499 -   Fixed: the string formatter no longer errors on non-rule errors.
500 -   Fixed: `selector-list-comma-*` rules now ignore Less mixins.
501 -   Fixed: `selector-max-compound-selectors` no longer errors on Less mixins.
502 -   Fixed: `selector-type-no-unknown` now ignores all *An+B notation* and linguistic pseudo-classes.
503 -   Fixed: `selector-type-no-unknown` now ignores obsolete HTML tags and `<hgroup>`.
504
505 # 6.5.0
506
507 -   Added: `selector-max-compound-selectors` rule.
508 -   Fixed: `babel-polyfill` removed so it doesn't clash with other processes using `babel-polyfill`.
509 -   Fixed: `selector-type-case` and `selector-type-no-unknown` rules now ignore SCSS placeholder selectors.
510
511 # 6.4.2
512
513 -   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.
514 -   Fixed: `selector-type-no-unknown` now ignores nested selectors and keyframe selectors.
515
516 # 6.4.1
517
518 -   Fixed: `shorthand-property-no-redundant-values` now ignores `background`, `font`, `border`, `border-top`, `border-bottom`, `border-left`, `border-right`, `list-style`, `transition` properties.
519 -   Fixed: `unit-no-unknown` now ignores hex colors.
520
521 # 6.4.0
522
523 -   Added: `keyframe-declaration-no-important` rule.
524 -   Added: `selector-attribute-operator-blacklist` rule.
525 -   Added: `selector-attribute-operator-whitelist` rule.
526 -   Added: `selector-pseudo-class-no-unknown` rule.
527 -   Added: `selector-type-no-unknown` rule.
528 -   Fixed: string formatter no longer errors on multi-byte `message`.
529 -   Fixed: catch errors thrown by `postcss-selector-parser` and register them as PostCSS warnings, providing a better UX for editor plugins.
530 -   Fixed: some rules now better handle case insensitive CSS identifiers.
531 -   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.
532 -   Fixed: `no-unknown-animations` now ignores `ease` value.
533 -   Fixed: `unit-blacklist`, `unit-case`, `unit-no-unknown`, `unit-whitelist` now better accounts interpolation.
534 -   Fixed: `unit-no-unknown` no longer breaks Node 0.12 (because we've included the Babel polyfill).
535 -   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`.
536 -   Fixed: wrong example for `always-multi-line` in rule `block-opening-brace-newline-before` documentation.
537
538 # 6.3.3
539
540 -   Fixed: `block-closing-brace-newline-before` no longer delivers false positives for extra semicolon.
541 -   Fixed: `declaration-block-no-ignored-properties` now detects use of `vertical-align` with block-level elements.
542 -   Fixed: `font-family-name-quotes` is now case insensitive when hunting for font-family properties.
543 -   Fixed: `number-zero-length-no-unit` now ignores `deg`, `grad`, `turn` and `rad` units.
544 -   Fixed: `selector-no-type` does a better job when ignoring descendant and compound selectors.
545
546 # 6.3.2
547
548 -   Fixed: `shorthand-property-no-redundant-values` now handles uppercase values properly.
549
550 # 6.3.1
551
552 -   Fixed: `declaration-block-no-ignored-properties` now longer crashes on nested rules.
553
554 # 6.3.0
555
556 -   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`).
557 -   Added: support for plugins that provides an array of rules.
558 -   Added: support for extracting and linting CSS from within HTML sources.
559 -   Added: `--stdin-filename` option to CLI.
560 -   Added: `at-rule-name-space-after` rule.
561 -   Added: `no-extra-semicolons` rule.
562 -   Added: `selector-attribute-operator-space-after` rule.
563 -   Added: `selector-attribute-operator-space-before` rule.
564 -   Added: `selector-max-empty-lines` rule.
565 -   Added: `selector-pseudo-element-no-unknown` rule.
566 -   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`.
567 -   Fixed: string and verbose formatters no longer use an ambiguous colour schemes.
568 -   Fixed: string formatter no longer outputs an empty line if there are no problems.
569 -   Fixed: all rules now handle case insensitive CSS identifiers.
570 -   Fixed: `function-comma-newline-after` now allows end-of-line comments.
571 -   Fixed: `function-url-quotes` now ignores spaces within `url()`.
572 -   Fixed: `no-descending-specificity` now ignores trailing colons within selectors.
573 -   Fixed: `no-indistinguishable-colors` now ignores keyword color names within `url()`.
574 -   Fixed: `number-max-precision` now ignores `@import` at-rules and `url()` functions.
575 -   Fixed: `selector-class-pattern` and `selector-id-pattern` rules now ignore SCSS variable interpolation.
576 -   Fixed: `value-list-comma-*` rules now ignore SCSS maps.
577
578 # 6.2.2
579
580 -   Deprecated: `stylelint.utils.cssWordIsVariable()` as non-standard syntax utils are now defensive.
581 -   Fixed: `declaration-colon-*` rules now ignore SCSS lists.
582 -   Fixed: `font-weight-notation` now ignores SCSS interpolation.
583 -   Fixed: `rule-nested-empty-line-before` now ignores Less blockless rules (mixin and extend calls).
584
585 # 6.2.1
586
587 -   Fixed: more problems with exposed `stylelint.createRuleTester`.
588
589 # 6.2.0
590
591 -   Added: `selector-no-qualifying-type` rule.
592 -   Fixed: `number-leading-zero` will not check `@import` at-rules.
593 -   Fixed: `selector-class-pattern` now ignores non-outputting Less mixin definitions and called Less mixins.
594 -   Fixed: `value-keyword-case` now accounts for camelCase keywords (e.g. `optimizeSpeed`, `optimizeLegibility` and `geometricPrecision`) when the `lower` option is used.
595 -   Fixed: `testUtils` and `stylelint.createRuleTester` module mistakes.
596
597 # 6.1.1
598
599 -   Fixed: documentation links to `selector-pseudo-class-parentheses-space-inside` and `selector-attribute-brackets-space-inside`.
600
601 # 6.1.0
602
603 -   Added: support for `.stylelintignore` file.
604 -   Added: warning message in output when a file is ignored.
605 -   Added: `comment-word-blacklist` rule.
606 -   Added: `selector-attribute-brackets-space-inside` rule.
607 -   Added: `selector-pseudo-class-parentheses-space-inside` rule.
608 -   Added: `shorthand-property-no-redundant-values` rule.
609 -   Added: `ignoreKeywords` option for `value-keyword-case`.
610 -   Fixed: CRLF (`\r\n`) warning positioning in `string-no-newline`.
611 -   Fixed: parsing problems when using `///`-SassDoc-style comments.
612 -   Fixed: `max-empty-lines` places warning at the end of the violating newlines to avoid positioning confusions.
613
614 # 6.0.3
615
616 -   Fixed: CRLF (`\r\n`) warning positioning in `max-empty-lines` and `function-max-empty-lines`.
617
618 # 6.0.2
619
620 -   Fixed: `CssSyntaxError` sets `errored` on output to `true`.
621
622 # 6.0.1
623
624 -   Fixed: `function-name-case` now accounts for camelCase function names (e.g. `translateX`, `scaleX` etc) when the `lower` option is used.
625
626 # 6.0.0
627
628 -   Changed: `CssSyntaxError` is no longer thrown but reported alongside warnings.
629 -   Added: new look for standard formatter and support for arbitrary severity names.
630 -   Added: exposed `stylelint.utils.cssWordIsVariable()`.
631 -   Added: `at-rule-name-case` rule.
632 -   Added: `function-name-case` rule.
633 -   Added: `property-case` rule.
634 -   Added: `selector-pseudo-class-case` rule.
635 -   Added: `selector-pseudo-element-case` rule.
636 -   Added: `unit-case` rule.
637 -   Added: `value-keyword-case` rule.
638 -   Added: `indentClosingBrace` option to `indentation`.
639 -   Added: `indentInsideParens` option to `indentation`.
640 -   Added: `consecutive-duplicates` option for `declaration-block-no-duplicate-properties` rule.
641 -   Fixed: `block-no-empty` no longer delivers false positives for less syntax.
642 -   Fixed: `declaration-block-trailing-semicolon` better understands nested at-rules.
643 -   Fixed: `number-zero-length-no-unit` now work with `q` unit and ignores `s`, `ms`, `kHz`, `Hz`, `dpcm`, `dppx`, `dpi` units
644
645 # 5.4.0
646
647 -   Added: `unit-no-unknown` rule.
648 -   Fixed: `no-descending-specificity` no longer gets confused when the last part of a selector is a compound selector.
649 -   Fixed: regression causing `indentation` to complain about Sass maps.
650 -   Fixed: `declaration-block-no-ignored-properties` now ignore `clear` for `position: absolute` and `position: relative` and does not ignore `float` on `display: table-*`.
651
652 # 5.3.0
653
654 -   Added: (experimental) support for [Less](http://lesscss.org/) syntax.
655 -   Added: support for [SugarSS](https://github.com/postcss/sugarss) syntax.
656 -   Added: exposed `stylelint.createRuleTester()`.
657 -   Added: `declaration-block-no-ignored-properties` rule.
658 -   Added: `function-max-empty-lines` rule.
659 -   Added: `function-url-data-uris` rule.
660 -   Fixed: `block-closing-brace-newline-after` accepts single-line comments immediately after the closing brace.
661 -   Fixed: `block-closing-brace-newline-after` use of "single space", rather than "newline", in its messages.
662 -   Fixed: `font-weight-notation` now ignores `initial` value.
663 -   Fixed: `function-*` rules should all now ignore all Sass maps and lists.
664 -   Fixed: `function-calc-no-unspaced-operator` accepts newlines.
665 -   Fixed: `function-comma-space-after`, `function-comma-space-before`, `function-parentheses-newline-inside` and `function-parentheses-space-inside` now ignore SCSS maps.
666 -   Fixed: `max-line-length` options validation.
667 -   Fixed: `no-unknown-animations` now ignores `none`, `initial`, `inherit`, `unset` values.
668 -   Fixed: `property-value-blacklist` and `-whitelist` no longer error on properties without a corresponding list entry.
669 -   Fixed: `selector-class-pattern` now ignores selectors with Sass interpolation.
670 -   Fixed: `selector-id-pattern` now ignores selectors with Sass interpolation.
671 -   Fixed: `selector-no-id` now ignores keyframe selectors.
672 -   Fixed: `unit-blacklist` and `unit-whitelist` now ignores `url` functions.
673
674 # 5.2.1
675
676 -   Fixed: `function-calc-no-unspaced-operator` now better ignores non-`calc` functions.
677 -   Fixed: `no-descending-specificity` no longer delivers false positives after second run in Atom linter.
678 -   Fixed: `stylelint-disable-rule` imported correctly.
679
680 # 5.2.0
681
682 -   Added: `at-rule-semicolon-newline-after` rule.
683 -   Added: `no-indistinguishable-colors` rule.
684 -   Added: `stylelint-disable-reason` rule.
685 -   Fixed: `declaration-bang-space-*` understands arbitrary bang declarations (e.g. `!default`).
686 -   Fixed: `font-weight-notation` now ignore `inherit` value.
687 -   Fixed: `indentation` treats `@nest` at-rules like regular rules with selectors.
688 -   Fixed: `no-duplicate-selectors` contextualizes selectors by all at-rules, not just media queries.
689 -   Fixed: `no-duplicate-selectors` no longer delivers false positives after second run in Atom linter.
690 -   Fixed: `no-duplicate-selectors` no longer delivers false positives with descendant combinators.
691 -   Fixed: `number-no-trailing-zeros` no longer delivers false positives in `url()` arguments.
692 -   Fixed: `root-no-standard-properties` no longer delivers false positives inside the `:not()` pseudo-selector.
693 -   Fixed: `selector-list-comma-*` rules no longer deliver false positives inside functional notation.
694
695 # 5.1.0
696
697 -   Added: `selector-type-case` rule.
698 -   Fixed: no more subtle configuration bug when using extends and plugins together in tangled ways.
699
700 # 5.0.1
701
702 -   Fixed: `string-no-newline` no longer stumbles when there are comment-starting characters inside strings.
703
704 # 5.0.0
705
706 -   Removed: `no-indistinguishable-colors` because its dependencies were unusable in Atom. (To be re-evaluated and re-added later.)
707 -   Removed: `"warn": true` secondary option. Use `"severity": "warning"`, instead.
708 -   Removed: `color-no-named` rule. Use the new `color-named` rule, with the `"never"` option instead.
709 -   Removed: `declaration-block-no-single-line` rule. Use the new `block-no-single-line` rule instead.
710 -   Removed: `rule-no-duplicate-properties` rule. Use the new `declaration-block-no-duplicate-properties` rule instead.
711 -   Removed: `rule-no-shorthand-property-overrides` rule. Use the new `declaration-block-no-shorthand-property-overrides` rule instead.
712 -   Removed: `rule-properties-order` rule. Use the new `declaration-block-properties-order` rule instead.
713 -   Removed: `rule-trailing-semicolon` rule. Use the new `declaration-block-trailing-semicolon` rule instead.
714 -   Removed `true` option for `emptyLineBefore` when using property groups in `rule-properties-order`. Use the new `"always"` or `"never"` option instead.
715 -   Removed: `"always"` option for `font-weight-notation`. Use the new `always-where-possible` option instead.
716 -   Added: support for overlapping `stylelint-disable` commands.
717 -   Fixed: `max-nesting-depth` does not warn about blockless at-rules.
718 -   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.
719 -   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).
720 -   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`.
721 -   Fixed: `indentation` no longer has false positives when there are empty lines within multi-line values.
722 -   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.
723
724 # 4.5.1
725
726 -   Fixed: `no-unsupported-browser-features` options now optional.
727 -   Fixed: `no-duplicate-selectors` now ignores keyframe selectors.
728
729 # 4.5.0
730
731 -   Deprecated: `"warn": true` secondary option. Use `"severity": "warning"`, instead.
732 -   Deprecated: `color-no-named` rule. Use the new `color-named` rule, with the `"never"` option instead.
733 -   Deprecated: `declaration-block-no-single-line` rule. Use the new `block-no-single-line` rule instead.
734 -   Deprecated: `rule-no-duplicate-properties` rule. Use the new `declaration-block-no-duplicate-properties` rule instead.
735 -   Deprecated: `rule-no-shorthand-property-overrides` rule. Use the new `declaration-block-no-shorthand-property-overrides` rule instead.
736 -   Deprecated: `rule-properties-order` rule. Use the new `declaration-block-properties-order` rule instead.
737 -   Deprecated: `rule-trailing-semicolon` rule. Use the new `declaration-block-trailing-semicolon` rule instead.
738 -   Deprecated `true` option for `emptyLineBefore` when using property groups in `rule-properties-order`. Use the new `"always"` or `"never"` option instead.
739 -   Deprecated: `"always"` option for `font-weight-notation`. Use the new `always-where-possible` option instead.
740 -   Added: universal `severity` secondary option as a replacement for `"warn": true` to alter a rule's severity.
741 -   Added: `block-no-single-line` rule.
742 -   Added: `color-named` rule.
743 -   Added: `declaration-block-no-duplicate-properties` rule.
744 -   Added: `declaration-block-no-shorthand-property-overrides` rule.
745 -   Added: `declaration-block-properties-order` rule.
746 -   Added: `declaration-block-trailing-semicolon` rule.
747 -   Added: `max-nesting-depth` rule.
748 -   Added: `no-browser-hacks` rule.
749 -   Added: `no-descending-specificity` rule.
750 -   Added: `no-indistinguishable-colors` rule.
751 -   Added: `no-unsupported-browser-features` rule.
752 -   Added: `selector-max-specificity` rule.
753 -   Added: `string-no-newline` rule.
754 -   Added: `"always"` and `"never"` option to `rule-properties-order` `emptyLineBefore` when using property groups
755 -   Added: `named-where-possible` option to `font-weight-notation`.
756 -   Added: `unspecified: "bottomAlphabetical"` option to the `rule-properties-order` rule.
757 -   Added: `ignoreAtRules: []` option to the `block-opening-brace-space-before` and `block-closing-brace-newline-after` rules.
758 -   Added: support for using the nesting selector (`&`) as a prefix in `selector-no-type`.
759 -   Added: `stylelint-disable-line` feature.
760 -   Added: `withinComments`, `withinStrings`, and `checkStrings` options to `styleSearch`, and `insideString` property to the `styleSearch` match object.
761 -   Added: `resolveNestedSelectors` option to the `selector-class-pattern` rule.
762 -   Fixed: informative errors are thrown when `stylelint-disable` is misused.
763 -   Fixed: `selector-no-vendor-prefix` no longer delivers two warnings on vendor-prefixed pseudo-elements with two colons, e.g. `::-moz-placeholder`.
764 -   Fixed: `no-duplicate-selectors` rule now resolves nested selectors.
765 -   Fixed: `font-weight-notation` does not throw false warnings when `normal` is used in certain ways.
766 -   Fixed: `selector-no-*` and `selector-*-pattern` rules now ignore custom property sets.
767 -   Fixed: nested selector handling for `no-duplicate-selectors`.
768 -   Fixed: `selector-no-id` does not warn about Sass interpolation inside an `:nth-child()` argument.
769 -   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`.
770 -   Fixed: `number-leading-zero`, `function-comma-space-*`, and `declaration-colon-*` do not throw false positives in `url()` arguments.
771
772 # 4.4.0
773
774 -   Added: `ignore: "relative"` option for `font-weight-notation`.
775 -   Fixed: `declaration-colon-space/newline-before/after` rules now ignore scss maps.
776 -   Fixed: `selector-list-comma-newline-after` allows `//` comments after the comma.
777
778 # 4.3.6
779
780 -   Fixed: removed `console.log()`s in `property-unit-whitelist`.
781
782 # 4.3.5
783
784 -   Fixed: removed `console.log()`s in `rule-properties-order`.
785
786 # 4.3.4
787
788 -   Fixed: option normalization for rules with primary options that are arrays of objects, like `rule-properties-order`.
789 -   Fixed: accuracy of warning positions are `//` comments when using SCSS parser.
790 -   Fixed: `no-unknown-animations` ignores variables.
791 -   Fixed: `no-unknown-animations` does not erroneously flag functions like `steps()` and `cubic-bezier()`.
792 -   Fixed: clarified error message in `time-no-imperceptible`.
793 -   Fixed: `font-family-name-quotes` and `font-weight-notation` ignore variables.
794 -   Fixed: `media-feature-no-missing-punctuation` handles space-padded media features.
795 -   Fixed: regression causing CLI `--config` relatives paths that don't start with `./` to be rejected.
796
797 # 4.3.3
798
799 -   Fixed: again removed `stylelint.utils.ruleTester` because its dependencies broke things.
800
801 # 4.3.2
802
803 -   Fixed: move `tape` to dependencies to support `testUtils`.
804
805 # 4.3.1
806
807 -   Fixed: include `testUtils` in npm package whitelist.
808
809 # 4.3.0
810
811 -   Added: `font-family-name-quotes` rule.
812 -   Added: `font-weight-notation` rule.
813 -   Added: `media-feature-no-missing-punctuation` rule.
814 -   Added: `no-duplicate-selectors` rule.
815 -   Added: `no-invalid-double-slash-comments` rule.
816 -   Added: `no-unknown-animations` rule.
817 -   Added: `property-value-blacklist` rule.
818 -   Added: `property-value-whitelist` rule.
819 -   Added: `time-no-imperceptible` rule.
820 -   Added: `ignore: "descendant"` and `ignore: "compounded"` options for `selector-no-type`.
821 -   Added: support for regular expression property identification in `property-blacklist`, `property-unit-blacklist`, `property-unit-whitelist`, `property-value-blacklist`, and `property-whitelist`.
822 -   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`.
823 -   Added: support for using names of modules for the CLI's `--config` argument, not just paths.
824 -   Added: `codeFilename` option to Node API.
825 -   Added: exposed rules at `stylelint.rules` to make stylelint even more extensible.
826 -   Added: brought `stylelint-rule-tester` into this repo, and exposed it at `stylelint.utils.ruleTester`.
827 -   Fixed: bug in `rule-properties-order` empty line detection when the two newlines were separated
828   by some other whitespace.
829 -   Fixed: option parsing bug that caused problems when using the `"alphabetical"` primary option
830   with `rule-properties-order`.
831 -   Fixed: regard an empty string as a valid CSS code.
832 -   Fixed: `ignoreFiles` handling of absolute paths.
833 -   Fixed: `ignoreFiles` uses the `configBasedir` option to interpret relative paths.
834
835 # 4.2.0
836
837 -   Added: support for custom messages with a `message` secondary property on any rule.
838 -   Fixed: CLI always ignores contents of `node_modules` and `bower_components` directories.
839 -   Fixed: bug preventing CLI from understanding absolute paths in `--config` argument.
840 -   Fixed: bug causing `indentation` to stumble over declarations with semicolons on their own lines.
841
842 # 4.1.0
843
844 -   Added: helpful option validation message when object is expected but non-object provided.
845 -   Fixed: `selector-no-id` no longer warns about Sass interpolation when multiple interpolations are used in a selector.
846
847 # 4.0.0
848
849 -   Removed: support for legacy numbered severities.
850 -   Added: support for extensions on `.stylelintrc` files (by upgrading cosmiconfig).
851 -   Added: `ignore: "non-comments"` option to `max-line-length`.
852 -   Fixed: `function-whitespace-after` does not expect space between `)` and `}`, so it handles Sass interpolation better.
853
854 # 3.2.3
855
856 -   Fixed: `selector-no-vendor-prefix` now handles custom-property-sets.
857
858 # 3.2.2
859
860 -   Fixed: `selector-no-type` ignores `nth-child` pseudo-classes and `@keyframes` selectors.
861
862 # 3.2.1
863
864 -   Fixed: `max-line-length` handles `url()` functions better.
865 -   Fixed: `block-opening-brace-newline-after` and `declaration-block-semicolon-newline-after` handle end-of-line comments better.
866
867 # 3.2.0
868
869 -   Added: `legacyNumberedSeverities` config property to force the legacy severity system.
870 -   Added: `selector-no-id` ignores Sass-style interpolation.
871 -   Fixed: bug causing extended config to override the config that extends it.
872
873 # 3.1.4
874
875 -   Fixed: stopped hijacking `--config` property in PostCSS and Node.js APIs. Still using it in the CLI.
876
877 # 3.1.3
878
879 -   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`.
880 -   Fixed: bug causing `rule-properties-order` to get confused by properties with an unspecified order.
881
882 # 3.1.2
883
884 -   Fixed: bug causing an error when `null` was used on rules whose primary options are arrays.
885
886 # 3.1.1
887
888 -   Fixed: Documentation improvements.
889
890 # 3.1.0
891
892 -   Added: `stylelint-commands` `ignore` option to `comment-empty-line-before`.
893 -   Fixed: v3 regression causing bug in `rule-properties-order` and potentially other rules that accept arrays as primary options.
894 -   Fixed: `no-missing-eof-newline` no longer complains about completely empty files.
895
896 # 3.0.3
897
898 -   Fixed: list of rules within documentation.
899
900 # 3.0.0-3.0.2
901
902 -   Removed: `nesting-block-opening-brace-space-before` and `nesting-block-opening-brace-newline-before` rules.
903 -   Deprecated: numbered severities (0, 1, 2) and will be disabled in `4.0`.
904 -   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.
905 -   Changed: renamed `rule-no-single-line` to `declaration-block-no-single-line` and changed scope of the single-line to the declaration block.
906 -   Changed: renamed the `function-space-after` rule to `function-whitespace-after`.
907 -   Changed: renamed the `comment-space-inside` rule to `comment-whitespace-inside`.
908 -   Changed: renamed the `no-multiple-empty-lines` rule to `max-empty-lines` (takes an `int` as option).
909 -   Changed: `plugins` is now an array instead of an object. And plugins should be created with `stylelint.createPlugin()`.
910 -   Added: cosmiconfig, which means the following:
911     -   support for YAML `.stylelintrc`
912     -   support for `stylelint.config.js`
913     -   support for `stylelint` property in `package.json`
914     -   alternate config loading system, which stops at the first config found
915 -   Added: asynchronicity to the PostCSS plugin.
916 -   Added: `ignoreFiles` option to config.
917 -   Added: `configFile` option to Node.js API.
918 -   Fixed: `comment-whitespace-inside` now ignores copyright (`/*! `) and sourcemap (`/*# `) comments.
919 -   Fixed: `rule-no-duplicate-properties` now ignores the `src` property.
920
921 # 2.3.7
922
923 -   Fixed: `function-calc-no-unspaced-operator` ignores characters in `$sass` and `@less` variables.
924 -   Fixed: `rule-properties-order` allows comments at the top of groups that expect newlines before them.
925 -   Fixed: `styleSearch()` and the rules it powers will not trip up on single-line (`//`) comments.
926 -   Fixed: `selector-combinator-space-before` now better handles nested selectors starting with combinators.
927 -   Fixed: `rule-properties-order` now deals property with `-moz-osx-font-smoothing`.
928
929 # 2.3.6
930
931 -   Fixed: improved documentation of CLI globbing possibilities.
932 -   Fixed: `rule-properties-order` now accounts for property names containing multiple hyphens.
933 -   Fixed: `rule-properties-order` grouping bug.
934
935 # 2.3.5
936
937 -   Added: error about undefined severities blaming stylelint for the bug.
938 -   Fixed: `selector-pseudo-element-colon-notation` typo in rule name resulting in undefined severity.
939
940 # 2.3.4
941
942 -   Fixed: `dist/` build.
943
944 # 2.3.3
945
946 -   Fixed: `property-whitelist`, `rule-no-duplicate-properties`, and `rule-properties-order` ignore variables (`$sass`, `@less`, and `--custom-property`).
947 -   Fixed: `root-no-standard-properties` ignores `$sass` and `@less` variables.
948 -   Fixed: `comment-empty-line-before` and `comment-space-inside` no longer complain about `//` comments.
949
950 # 2.3.2
951
952 -   Fixed: `number-no-trailing-zeros` no longer flags at-import at-rules.
953
954 # 2.3.1
955
956 -   Fixed: `selector-no-type` no longer flags the *nesting selector* (`&`).
957
958 # 2.3.0
959
960 -   Added: `configFile` option to PostCSS plugin.
961 -   Fixed: `function-parentheses-newline-inside` and `function-parentheses-space-inside` bug with nested functions.
962
963 # 2.2.0
964
965 -   Added: `selector-class-pattern` rule.
966 -   Added: `selector-id-pattern` rule.
967 -   Added: `function-parentheses-newline-inside` rule.
968 -   Added: `"always-single-line"` and `"never-single-line"` options to `function-parentheses-space-inside`.
969 -   Fixed: CLI `syntax` argument bug.
970
971 # 2.1.0
972
973 -   Added: `color-no-hex` rule.
974 -   Added: `color-no-named` rule.
975 -   Added: `function-blacklist` rule.
976 -   Added: `function-whitelist` rule.
977 -   Added: `unit-blacklist` rule.
978 -   Added: `unit-whitelist` rule.
979 -   Added: `property-unit-blacklist` rule.
980 -   Added: `property-unit-whitelist` rule.
981 -   Added: `rule-single-line-max-declarations` rule.
982 -   Added: `max-line-length` rule.
983 -   Added: `first-nested` exception to `comment-empty-line-before`.
984 -   Added: single value options to `*-blacklist` & `-*whitelist` rules e.g. `{ "function-blacklist": "calc"}`
985 -   Added: support for flexible groups to `rule-properties-order`.
986 -   Added: support for an optional empty line between each group to `rule-properties-order`.
987 -   Added: support for mathematical signs in front of Sass and Less variables in `function-calc-no-unspaced-operator`.
988 -   Added: support for arbitrary whitespace after function in `function-space-after`.
989 -   Added: support for arbitrary whitespace at the edge of comments in `comment-space-inside`.
990 -   Fixed: `comment-space-inside` allows any number of asterisks at the beginning and end of comments.
991 -   Fixed: bug causing `{ unspecified: "bottom }"` option not to be applied within `rule-properties-order`.
992 -   Fixed: bug causing `function-comma-*` whitespace rules to improperly judge whether to enforce single-   or multi-line options.
993 -   Fixed: bug when loading plugins from an extended config
994 -   Fixed: indentation for function arguments, by ignoring them.
995
996 # 2.0.0
997
998 -   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.
999 -   Added: CLI.
1000 -   Added: standalone Node API.
1001 -   Added: quiet mode to CLI and Node API.
1002 -   Added: support for formatters, including custom ones, to CLI and Node API.
1003 -   Added: `string` and `json` formatters.
1004 -   Added: support for using `.stylelintrc` JSON file.
1005 -   Added: support for extending existing configs using the `extends` property.
1006 -   Added: support for SCSS syntax parsing to CLI and Node API.
1007 -   Added: `function-comma-newline-after` rule.
1008 -   Added: `function-comma-newline-before` rule.
1009 -   Added: `"always-single-line"` and `"never-single-line"` options to `function-comma-space-after` rule.
1010 -   Added: `"always-single-line"` and `"never-single-line"` options to `function-comma-space-before` rule.
1011
1012 # 1.2.1
1013
1014 -   Fixed: the `media-query-list-comma-*` rules now only apply to `@media` statements.
1015
1016 # 1.2.0
1017
1018 -   Added: `function-linear-gradient-no-nonstandard-direction` rule.
1019 -   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.
1020 -   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.
1021 -   Added: `"always-single-line"` option to `declaration-colon-space-after`.
1022 -   Added: support for declarations directly on root (e.g. Sass variable declarations).
1023 -   Fixed: `declaration-colon-newline-after` `"always-multi-line"` warning message.
1024
1025 # 1.1.0
1026
1027 -   Added: `declaration-colon-newline-after` rule.
1028 -   Added: the `indentation` rule now checks indentation of multi-line at-rule params, unless there's the `except` option of `param`.
1029 -   Added: support for end-of-line comments in `selector-list-comma-newline-after`.
1030 -   Added: protection against `#${sass-interpolation}` in rules checking for hex colors.
1031 -   Added: support for strings (translated to RegExps) in `custom-property-pattern` and `custom-media-pattern`.
1032 -   Fixed: bug preventing various rules from registering the correct rule names in their warnings, and therefore also preventing them from being disabled with comments.
1033 -   Fixed: the `color-no-invalid-hex` rule no longer flags hashes in `url()` arguments.
1034 -   Fixed: rules using `node.raw()` instead of `node.raws` to avoid expected errors.
1035
1036 # 1.0.1
1037
1038 -   Fixed: `postcss-selector-parser` updated to improve location accuracy for `selector-no-*` rules.
1039
1040 # 1.0.0
1041
1042 -   Removed: compatibility with PostCSS `4.x`.
1043 -   Added: compatibility with PostCSS `5.0.2+`.
1044 -   Fixed: the accuracy of reported line numbers and columns.
1045
1046 # 0.8.0
1047
1048 -   Added: `after-comment` `ignore` option to the `at-rule-empty-line-before` rule.
1049 -   Fixed: the `indentation` rule now correctly handles `*` hacks on property names.
1050 -   Fixed: the `media-feature-colon-space-after` and `media-feature-colon-space-before` rules now only apply to `@media` statements.
1051 -   Fixed: the `rule-no-shorthand-property-overrides` rule message is now consistent with the other messages.
1052
1053 # 0.7.0
1054
1055 -   Added: invalid options cause the rule to abort instead of performing meaningless checks.
1056 -   Added: special warning for missing required options from `validateOptions()`.
1057
1058 # 0.6.2
1059
1060 -   Fixed: npm package no longer includes test files (reducing package size by 500KB).
1061
1062 # 0.6.1
1063
1064 -   Fixed: the `rule-properties-order` and `rule-no-duplicate-properties` rules now correctly check inside @rules.
1065
1066 # 0.6.0
1067
1068 -   Added: `validateOptions` to `stylelint.utils` for use by authors of custom rules.
1069 -   Added: `custom-media-pattern` rule.
1070 -   Added: `number-max-precision` rule.
1071
1072 # 0.5.0
1073
1074 -   Added: validation of all rule options.
1075
1076 # 0.4.1
1077
1078 -   Removed: `ruleTester` from `stylelint.utils` because of the additional dependencies it forces.
1079
1080 # 0.4.0
1081
1082 -   Removed: `jsesc` devDependency.
1083 -   Added: `rule-no-shorthand-property-overrides` rule.
1084 -   Added: `ruleTester` to `stylelint.utils` for use by authors of custom rules.
1085
1086 # 0.3.2
1087
1088 -   Fixed: `hierarchicalSelectors` bug in `indentation` rule.
1089
1090 # 0.3.1
1091
1092 -   Fixed: `~=` is no longer mistaken for combinator in `selector-combinator-space-*`.
1093
1094 # 0.3.0
1095
1096 -   Added: exposure of `report`, `ruleMessages`, and `styleSearch` in `stylelint.utils` for use by external plugin rules.
1097 -   Added: plugin rule support.
1098 -   Added: `hierarchicalSelectors` option to `indentation` rule.
1099 -   Added: `nesting-block-opening-brace-space-before` rule.
1100 -   Added: `nesting-block-opening-brace-newline-before` rule.
1101 -   Fixed: the `color-hex-case` rule message is now consistent with the `color-hex-length` rule.
1102 -   Fixed: the `property-blacklist` rule message is now consistent with the `property-whitelist` rule.
1103 -   Fixed: a typo in the `comment-space-inside` rule message.
1104
1105 # 0.2.0
1106
1107 -   Added: `color-hex-case` rule.
1108 -   Added: `color-hex-length` rule.
1109 -   Fixed: formalized selector-indentation-checking within the `indentation` rule.
1110 -   Fixed: allow for arbitrary whitespace after the newline in the `selector-list-comma-newline-*` rules.
1111 -   Fixed: `selector-combinator-space-*` no longer checks `:nth-child()` arguments.
1112
1113 # 0.1.2
1114
1115 -   Fixed: nesting support for the `block-opening-brace-newline-before` rule.
1116 -   Fixed: nesting support for the `block-opening-brace-space-before` rule.
1117 -   Fixed: nesting support for the `rule-trailing-semicolon` rule.
1118
1119 # 0.1.1
1120
1121 -   Fixed: nesting support for the `rule-no-duplicate-properties` rule.
1122 -   Fixed: nesting support for the `rule-properties-order` rule.
1123 -   Fixed: whitespace rules accommodate Windows CR-LF line endings.
1124
1125 # 0.1.0
1126
1127 -   Added: ability to disable rules via comments in the CSS.
1128 -   Added: `at-rule-empty-line-before` rule.
1129 -   Added: `at-rule-no-vendor-prefix` rule.
1130 -   Added: `block-closing-brace-newline-after` rule.
1131 -   Added: `block-closing-brace-newline-before` rule.
1132 -   Added: `block-closing-brace-space-after` rule.
1133 -   Added: `block-closing-brace-space-before` rule.
1134 -   Added: `block-no-empty` rule.
1135 -   Added: `block-opening-brace-newline-after` rule.
1136 -   Added: `block-opening-brace-newline-before` rule.
1137 -   Added: `block-opening-brace-space-after` rule.
1138 -   Added: `block-opening-brace-space-before` rule.
1139 -   Added: `color-no-invalid-hex` rule.
1140 -   Added: `comment-empty-line-before` rule.
1141 -   Added: `comment-space-inside` rule.
1142 -   Added: `custom-property-no-outside-root` rule.
1143 -   Added: `custom-property-pattern` rule.
1144 -   Added: `declaration-bang-space-after` rule.
1145 -   Added: `declaration-bang-space-before` rule.
1146 -   Added: `declaration-block-semicolon-newline-after` rule.
1147 -   Added: `declaration-block-semicolon-newline-before` rule.
1148 -   Added: `declaration-block-semicolon-space-after` rule.
1149 -   Added: `declaration-block-semicolon-space-before` rule.
1150 -   Added: `declaration-colon-space-after` rule.
1151 -   Added: `declaration-colon-space-before` rule.
1152 -   Added: `declaration-no-important` rule.
1153 -   Added: `function-calc-no-unspaced-operator` rule.
1154 -   Added: `function-comma-space-after` rule.
1155 -   Added: `function-comma-space-before` rule.
1156 -   Added: `function-parentheses-space-inside` rule.
1157 -   Added: `function-space-after` rule.
1158 -   Added: `function-url-quotes` rule.
1159 -   Added: `indentation` rule.
1160 -   Added: `media-feature-colon-space-after` rule.
1161 -   Added: `media-feature-colon-space-before` rule.
1162 -   Added: `media-feature-name-no-vendor-prefix` rule.
1163 -   Added: `media-feature-range-operator-space-after` rule.
1164 -   Added: `media-feature-range-operator-space-before` rule.
1165 -   Added: `media-query-list-comma-newline-after` rule.
1166 -   Added: `media-query-list-comma-newline-before` rule.
1167 -   Added: `media-query-list-comma-space-after` rule.
1168 -   Added: `media-query-list-comma-space-before` rule.
1169 -   Added: `media-query-parentheses-space-inside` rule.
1170 -   Added: `no-eol-whitespace` rule.
1171 -   Added: `no-missing-eof-newline` rule.
1172 -   Added: `no-multiple-empty-lines` rule.
1173 -   Added: `number-leading-zero` rule.
1174 -   Added: `number-no-trailing-zeros` rule.
1175 -   Added: `number-zero-length-no-unit` rule.
1176 -   Added: `property-blacklist` rule.
1177 -   Added: `property-no-vendor-prefix` rule.
1178 -   Added: `property-whitelist` rule.
1179 -   Added: `root-no-standard-properties` rule.
1180 -   Added: `rule-nested-empty-line-before` rule.
1181 -   Added: `rule-no-duplicate-properties` rule.
1182 -   Added: `rule-no-single-line` rule.
1183 -   Added: `rule-non-nested-empty-line-before` rule.
1184 -   Added: `rule-properties-order` rule.
1185 -   Added: `rule-trailing-semicolon` rule.
1186 -   Added: `selector-combinator-space-after` rule.
1187 -   Added: `selector-combinator-space-before` rule.
1188 -   Added: `selector-list-comma-newline-after` rule.
1189 -   Added: `selector-list-comma-newline-before` rule.
1190 -   Added: `selector-list-comma-space-after` rule.
1191 -   Added: `selector-list-comma-space-before` rule.
1192 -   Added: `selector-no-attribute` rule.
1193 -   Added: `selector-no-combinator` rule.
1194 -   Added: `selector-no-id` rule.
1195 -   Added: `selector-no-type` rule.
1196 -   Added: `selector-no-universal` rule.
1197 -   Added: `selector-no-vendor-prefix` rule.
1198 -   Added: `selector-pseudo-element-colon-notation` rule.
1199 -   Added: `selector-root-no-composition` rule.
1200 -   Added: `string-quotes` rule.
1201 -   Added: `value-list-comma-newline-after` rule.
1202 -   Added: `value-list-comma-newline-before` rule.
1203 -   Added: `value-list-comma-space-after` rule.
1204 -   Added: `value-list-comma-space-before` rule.
1205 -   Added: `value-no-vendor-prefix` rule.