Add autofix to font-weight-notation#6347
Conversation
🦋 Changeset detectedLatest commit: 56863de The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
04c4ac7 to
e71bcfe
Compare
e71bcfe to
efe5283
Compare
There was a problem hiding this comment.
@ybiquitous This is a fantastic refactor to implement autofix, thank you!
I've thoughts on 3 things:
- Let's fix our references so they're accurate:
stylelint/lib/reference/keywords.js
Line 31 in efe5283
This set should be: ["normal", "bold"]
And then let's unite the sets in the reference file (rather than the rule itself), e.g.
const fontWeightNonNumericKeywords = uniteSets(
fontWeightRelativeKeywords,
fontWeightAbsoluteKeywords,
);
const fontWeightKeywords = uniteSets(
basicKeywords,
fontWeightNonNumericKeywords,
fontWeightNumericKeywords,
);-
We generally use the format "Expected x to be y" when a rule supports autofixing of small things, e.g. "Expected '400' to be 'normal' (font-weight-notation)".
-
While we're refactoring we may want to remove the validation path, i.e.:
invalidNamed: (name) => `Unexpected invalid font-weight name "${name}"`,The rule should only be doing one thing.
Shall we do the latter two suggestions in this pull request or in follow-up ones? The latter one may make the refactor even cleaner.
jeddy3
left a comment
There was a problem hiding this comment.
Thanks for implementing the first suggestion.
PR LGTM. Feel free to merge.
I'll work on the remaining suggestions on another PR to clarify the scope of this PR. 💪🏼
SGTM.
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ##### [\`v14.16.1\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ##### [\`v14.16.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ##### [\`v14.15.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ##### [\`v14.14.1\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ##### [\`v14.14.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ##### [\`v14.13.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ##### [\`v14.12.1\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ##### [\`v14.12.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ##### [\`v14.16.1\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ##### [\`v14.16.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ##### [\`v14.15.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ##### [\`v14.14.1\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ##### [\`v14.14.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ##### [\`v14.13.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ##### [\`v14.12.1\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ##### [\`v14.12.0\`](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ## [v14.16.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ## [v14.16.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ## [v14.15.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ## [v14.14.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ## [v14.14.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ## [v14.13.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ## [v14.12.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ## [v14.12.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ## [v14.16.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ## [v14.16.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ## [v14.15.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ## [v14.14.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ## [v14.14.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ## [v14.13.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ## [v14.12.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ## [v14.12.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ## [v14.16.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ## [v14.16.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ## [v14.15.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ## [v14.14.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ## [v14.14.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ## [v14.13.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ## [v14.12.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ## [v14.12.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ## [v14.16.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ## [v14.16.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ## [v14.15.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ## [v14.14.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ## [v14.14.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ## [v14.13.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ## [v14.12.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ## [v14.12.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ## [v14.16.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ## [v14.16.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ## [v14.15.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ## [v14.14.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ## [v14.14.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ## [v14.13.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ## [v14.12.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ## [v14.12.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ## [v14.16.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ## [v14.16.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ## [v14.15.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ## [v14.14.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ## [v14.14.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ## [v14.13.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ## [v14.12.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ## [v14.12.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
| datasource | package | from | to | | ---------- | --------- | ------- | ------- | | npm | stylelint | 14.11.0 | 14.16.1 | ## [v14.16.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14161) - Fixed: `customSyntax` resolution with `configBasedir` ([#6536](stylelint/stylelint#6536)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `declaration-block-no-duplicate-properties` autofix for `!important` ([#6528](stylelint/stylelint#6528)) ([@sidx1024](https://github.com/sidx1024)). - Fixed: `function-no-unknown` false positives for `scroll`, `-webkit-gradient`, `color-stop`, `from`, and `to` ([#6539](stylelint/stylelint#6539)) ([@Mouvedia](https://github.com/Mouvedia)). - Fixed: `value-keyword-case` false positives for mixed case `ignoreFunctions` option ([#6517](stylelint/stylelint#6517)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: unexpected `output` in Node.js API lint result when any rule contains `disableFix: true` ([#6543](stylelint/stylelint#6543)) ([@adrianjost](https://github.com/adrianjost)). ## [v14.16.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14160) - Added: `media-feature-range-notation` rule ([#6497](stylelint/stylelint#6497)) ([@jeddy3](https://github.com/jeddy3)). - Added: support for plugin objects as config values ([#6481](stylelint/stylelint#6481)) ([@phoenisx](https://github.com/phoenisx)). - Fixed: incorrect output by all formatters except for `json` ([#6480](stylelint/stylelint#6480)) ([@ybiquitous](https://github.com/ybiquitous)). ## [v14.15.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14150) - Added: `--globby-options` flag ([#6437](stylelint/stylelint#6437)) ([@sidverma32](https://github.com/sidverma32)). - Added: custom message formatting for `at-rule-disallowed-list`, `declaration-property-unit-disallowed-list`, `declaration-property-value-disallowed-list`, `function-disallowed-list`, and `property-disallowed-list` ([#6463](stylelint/stylelint#6463)) ([@chloerice](https://github.com/chloerice)). - Added: support autofix with `checkAgainstRule` ([#6466](stylelint/stylelint#6466)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support for reporting with custom severity ([#6444](stylelint/stylelint#6444)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Added: support to `checkAgainstRule` with custom rules ([#6460](stylelint/stylelint#6460)) ([@aaronccasanova](https://github.com/aaronccasanova)). - Fixed: tally output of `string` formatter colorized ([#6443](stylelint/stylelint#6443)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: usage of the `import-lazy` package to fit bundlers ([#6449](stylelint/stylelint#6449)) ([@phoenisx](https://github.com/phoenisx)). ## [v14.14.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14141) - Fixed: `declaration-block-no-redundant-longhand-properties` false positives for `inherit` keyword ([#6419](stylelint/stylelint#6419)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `shorthand-property-no-redundant-values` message to be consistent ([#6417](stylelint/stylelint#6417)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `unit-no-unknown` false positives for `*vi` & `*vb` viewport units ([#6428](stylelint/stylelint#6428)) ([@sidverma32](https://github.com/sidverma32)). ## [v14.14.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14140) - Added: `*-pattern` custom message formatting ([#6391](stylelint/stylelint#6391)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `block-no-empty` false positives for `reportNeedlessDisables` ([#6381](stylelint/stylelint#6381)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `printf`-like formatting for custom messages ([#6389](stylelint/stylelint#6389)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `unit-no-unknown` false positives for font-relative length units ([#6374](stylelint/stylelint#6374)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: false negatives on second run for cache and `severity` option ([#6384](stylelint/stylelint#6384)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: TS compilation error due to needless `file-entry-cache` import ([#6393](stylelint/stylelint#6393)) ([@adidahiya](https://github.com/adidahiya)). ## [v14.13.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14130) - Added: `cacheStrategy` option ([#6357](stylelint/stylelint#6357)) ([@kaorun343](https://github.com/kaorun343)). - Fixed: cache refresh when config is changed ([#6356](stylelint/stylelint#6356)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](stylelint/stylelint#6367)) ([@jathak](https://github.com/jathak)). ## [v14.12.1](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14121) - Fixed: `font-weight-notation` messages ([#6350](stylelint/stylelint#6350)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: type declarations for custom message arguments ([#6354](stylelint/stylelint#6354)) ([@stof](https://github.com/stof)). ## [v14.12.0](https://github.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#14120) - Added: support for multiple `--ignore-path` flags ([#6345](stylelint/stylelint#6345)) ([@kimulaco](https://github.com/kimulaco)). - Added: experimental support for custom message arguments ([#6312](stylelint/stylelint#6312)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `declaration-block-no-duplicate-properties` autofix ([#6296](stylelint/stylelint#6296)) ([@fpetrakov](https://github.com/fpetrakov)). - Added: `font-weight-notation` autofix ([#6347](stylelint/stylelint#6347)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: `ignore: ["inside-block"]` and `splitList` to `selector-disallowed-list` ([#6334](stylelint/stylelint#6334)) ([@mattmanuel90](https://github.com/mattmanuel90)). - Added: regex support for `ignorePseudoClasses` option of `selector-pseudo-class-no-unknown` ([#6316](stylelint/stylelint#6316)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignorePseudoElements` option of `selector-pseudo-element-no-unknown` ([#6317](stylelint/stylelint#6317)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreSelectors` option of `selector-no-vendor-prefix` ([#6327](stylelint/stylelint#6327)) ([@ybiquitous](https://github.com/ybiquitous)). - Added: regex support for `ignoreTypes` option of `selector-type-case` ([#6326](stylelint/stylelint#6326)) ([@ybiquitous](https://github.com/ybiquitous)). - Fixed: `*-no-unknown` false positives for container queries ([#6318](stylelint/stylelint#6318)) ([@fpetrakov](https://github.com/fpetrakov)). - Fixed: `font-family-name-quotes` false positives for interpolation and shorthand ([#6335](stylelint/stylelint#6335)) ([@kimulaco](https://github.com/kimulaco)). - Fixed: `time-min-milliseconds` incorrect location for matching violating times ([#6319](stylelint/stylelint#6319)) ([@kawaguchi1102](https://github.com/kawaguchi1102)).
Closes #3158
I've refactored the rule implementation much to support autofix:
postcss-value-parsermodulefontandfont-weightproperties (though a few conditional branches remain)@font-faceat-ruleHere is the code outline after the refactoring: