Closed mend-for-github-com[bot] closed 8 months ago
This PR contains the following updates:
^13.13.1
^16.0.0
By merging this PR, the below issues will be automatically resolved and closed:
This PR contains the following updates:
^13.13.1
->^16.0.0
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
stylelint/stylelint (stylelint)
### [`v16.0.0`](https://togithub.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#1600) [Compare Source](https://togithub.com/stylelint/stylelint/compare/15.11.0...16.0.0) [Migrating to `16.0.0` guide](docs/migration-guide/to-16.md). - Removed: Node.js less than 18.12.0 support ([#7020](https://togithub.com/stylelint/stylelint/pull/7020)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Removed: 76 rules deprecated in 15.0.0 ([#6979](https://togithub.com/stylelint/stylelint/pull/6979)) ([@mattxwang](https://togithub.com/mattxwang)). - Changed: `stylelint.formatters` object to have `Promise` values ([#7184](https://togithub.com/stylelint/stylelint/pull/7184)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Changed: exit code for CLI flag error ([#7134](https://togithub.com/stylelint/stylelint/pull/7134)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Changed: default syntax behaviour to always use safe-parser with `fix` regardless of extension ([#7357](https://togithub.com/stylelint/stylelint/pull/7357)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Changed: TypeScript definitions for ESM ([#7309](https://togithub.com/stylelint/stylelint/pull/7309)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Changed: `stylelint.rules` object to have `Promise` values ([#7279](https://togithub.com/stylelint/stylelint/pull/7279)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Changed: `stylelint.utils.checkAgainstRule` to be an async function ([#7339](https://togithub.com/stylelint/stylelint/pull/7339)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Deprecated: CommonJS Node.js API ([#7353](https://togithub.com/stylelint/stylelint/pull/7353)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Deprecated: `output` property in a Node.js API returned object. Instead, `report`/`code` properties are recommended ([#7183](https://togithub.com/stylelint/stylelint/pull/7183)) ([@ybiquitous](https://togithub.com/ybiquitous)) & ([@haocheng6](https://togithub.com/haocheng6)). - Added: `exports` field to `package.json` for Conditional Exports (ESM/CommonJS) ([#7307](https://togithub.com/stylelint/stylelint/pull/7307)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Added: support for ESM plugins ([#7339](https://togithub.com/stylelint/stylelint/pull/7339)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Added: support for ESM custom formatters ([#7343](https://togithub.com/stylelint/stylelint/pull/7343)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Added: support for a package name as arguments to `--custom-formatter` ([#7343](https://togithub.com/stylelint/stylelint/pull/7343)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Added: `severity` secondary option's function support ([#7202](https://togithub.com/stylelint/stylelint/pull/7202)) ([@kizu](https://togithub.com/kizu)). - Added: support for a `Promise` formatter function ([#7184](https://togithub.com/stylelint/stylelint/pull/7184)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Added: support for ESM custom syntaxes ([#7351](https://togithub.com/stylelint/stylelint/pull/7351)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Added: `report`/`code` properties to a Node.js API returned object ([#7183](https://togithub.com/stylelint/stylelint/pull/7183)) ([@ybiquitous](https://togithub.com/ybiquitous)) & ([@haocheng6](https://togithub.com/haocheng6)). - Fixed: no longer needed workaround for Cosmiconfig segfault ([#7329](https://togithub.com/stylelint/stylelint/pull/7329)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Fixed: CLI regression to avoid waiting for stdin without any input ([#7131](https://togithub.com/stylelint/stylelint/pull/7131)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Fixed: CLI to avoid different outputs on empty files and empty stdin ([#7131](https://togithub.com/stylelint/stylelint/pull/7131)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Refactored: `.js` extension to `.mjs` and `.cjs` ([#7307](https://togithub.com/stylelint/stylelint/pull/7307)) ([@ybiquitous](https://togithub.com/ybiquitous)). ### [`v15.11.0`](https://togithub.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#15110) [Compare Source](https://togithub.com/stylelint/stylelint/compare/15.10.3...15.11.0) - Added: `ignoreRules` to `max-nesting-depth` ([#7215](https://togithub.com/stylelint/stylelint/pull/7215)) ([@mattxwang](https://togithub.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` autofix for `grid-template` with `repeat()` ([#7230](https://togithub.com/stylelint/stylelint/pull/7230)) ([@mattxwang](https://togithub.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` false negative for `font-synthesis` ([#7214](https://togithub.com/stylelint/stylelint/pull/7214)) ([@mattxwang](https://togithub.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` false negatives for `*-block` and `*-inline` logical properties ([#7208](https://togithub.com/stylelint/stylelint/pull/7208)) ([@mattxwang](https://togithub.com/mattxwang)). - Fixed: `declaration-block-no-redundant-longhand-properties` false negatives for `overflow`, `overscroll-behavior`, `scroll-margin`, `scroll-padding`, and new Box Alignment shorthands ([#7213](https://togithub.com/stylelint/stylelint/pull/7213)) ([@mattxwang](https://togithub.com/mattxwang)). - Fixed: `function-no-unknown` false positives for `light-dark`, `linear` and `xywh` ([#7242](https://togithub.com/stylelint/stylelint/pull/7242)) ([@mattxwang](https://togithub.com/mattxwang)). ### [`v15.10.3`](https://togithub.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#15103) [Compare Source](https://togithub.com/stylelint/stylelint/compare/15.10.2...15.10.3) - Fixed: `declaration-property-value-no-unknown` false negatives for typed custom properties ([#7078](https://togithub.com/stylelint/stylelint/pull/7078)) ([@romainmenke](https://togithub.com/romainmenke)). - Fixed: `property-no-unknown` false positives for scroll-driven animations ([#7090](https://togithub.com/stylelint/stylelint/pull/7090)) ([@renato-bohler](https://togithub.com/renato-bohler)). ### [`v15.10.2`](https://togithub.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#15102) [Compare Source](https://togithub.com/stylelint/stylelint/compare/15.10.1...15.10.2) - Fixed: `declaration-property-value-no-unknown` false negatives for nested declarations ([#7079](https://togithub.com/stylelint/stylelint/pull/7079)) ([@romainmenke](https://togithub.com/romainmenke)). - Fixed: `selector-pseudo-element-no-unknown` false positives for `view-transition` pseudo-elements ([#7070](https://togithub.com/stylelint/stylelint/pull/7070)) ([@danielroe](https://togithub.com/danielroe)). ### [`v15.10.1`](https://togithub.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#15101) [Compare Source](https://togithub.com/stylelint/stylelint/compare/15.10.0...15.10.1) - Security: fix for `semver` vulnerability ([#7043](https://togithub.com/stylelint/stylelint/pull/7043)) ([@romainmenke](https://togithub.com/romainmenke)). - Fixed: invalid option regression on Windows 10 ([#7043](https://togithub.com/stylelint/stylelint/pull/7043)) ([@romainmenke](https://togithub.com/romainmenke)). ### [`v15.10.0`](https://togithub.com/stylelint/stylelint/blob/HEAD/CHANGELOG.md#15100) [Compare Source](https://togithub.com/stylelint/stylelint/compare/15.9.0...15.10.0) - Added: `media-query-no-invalid` ([#6963](https://togithub.com/stylelint/stylelint/pull/6963)) ([@romainmenke](https://togithub.com/romainmenke)). - Added: support for JS objects with `extends` config option ([#6998](https://togithub.com/stylelint/stylelint/pull/6998)) ([@fpetrakov](https://togithub.com/fpetrakov)). - Fixed: inconsistent `errored` properties in `stylelint.lint()` return value ([#6983](https://togithub.com/stylelint/stylelint/pull/6983)) ([@ybiquitous](https://togithub.com/ybiquitous)). - Fixed: `{selector,value}-no-vendor-prefix` performance ([#7016](https://togithub.com/stylelint/stylelint/pull/7016)) ([@jeddy3](https://togithub.com/jeddy3)). - Fixed: `custom-property-pattern` performance ([#7009](https://togithub.com/stylelint/stylelint/pull/7009)) ([@jeddy3](https://togithub.com/jeddy3)). - Fixed: `function-linear-gradient-no-nonstandard-direction` false positives for `