Skip to content

Commit 42a5f5e

Browse files
chore(deps): update dependency stylelint to v14 (#108)
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [stylelint](https://stylelint.io) ([source](https://togithub.com/stylelint/stylelint)) | [`^13.7.2` -> `^14.0.0`](https://renovatebot.com/diffs/npm/stylelint/13.7.2/14.1.0) | [![age](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/compatibility-slim/13.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/confidence-slim/13.7.2)](https://docs.renovatebot.com/merge-confidence/) | | [stylelint](https://stylelint.io) ([source](https://togithub.com/stylelint/stylelint)) | [`^13.3.2` -> `^14.0.0`](https://renovatebot.com/diffs/npm/stylelint/13.3.3/14.1.0) | [![age](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/compatibility-slim/13.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/stylelint/14.1.0/confidence-slim/13.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>stylelint/stylelint</summary> ### [`v14.1.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;1410) [Compare Source](https://togithub.com/stylelint/stylelint/compare/14.0.1...14.1.0) - Added: support for directory creation to `--output-file` flag ([#&#8203;5672](https://togithub.com/stylelint/stylelint/pull/5672)). - Added: `ConfigurationError` type ([#&#8203;5696](https://togithub.com/stylelint/stylelint/pull/5696)). - Added: `rule-selector-property-disallowed-list` rule ([#&#8203;5679](https://togithub.com/stylelint/stylelint/pull/5679)). - Added: `ignore: ["consecutive-duplicates-with-same-prefixless-values"]` to `declaration-block-no-duplicate-properties` ([#&#8203;5609](https://togithub.com/stylelint/stylelint/pull/5609)). - Added: `ignorePseudoClasses: []` to `max-nesting-depth` ([#&#8203;5620](https://togithub.com/stylelint/stylelint/pull/5620)). - Fixed: extending rules within overrides ([#&#8203;5683](https://togithub.com/stylelint/stylelint/pull/5683)). - Fixed: `color-function-notation` false positives for hex colours ([#&#8203;5650](https://togithub.com/stylelint/stylelint/pull/5650)). - Fixed: `declaration-empty-line-before` false positives for values wrapped in parentheses ([#&#8203;5680](https://togithub.com/stylelint/stylelint/pull/5680)). - Fixed: `indentation` TypeError for `baseIndentLevel: 1` option for Vue files ([#&#8203;5657](https://togithub.com/stylelint/stylelint/pull/5657)). - Fixed: `property-no-unknown` false positives for maps ([#&#8203;5690](https://togithub.com/stylelint/stylelint/pull/5690)). - Fixed: `selector-type-case` false positives for SVG type selectors ([#&#8203;5717](https://togithub.com/stylelint/stylelint/pull/5717)). ### [`v14.0.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;1401) [Compare Source](https://togithub.com/stylelint/stylelint/compare/14.0.0...14.0.1) - Fixed: package size by excluding docs ([#&#8203;5643](https://togithub.com/stylelint/stylelint/pull/5643)). - Fixed: `overrides` property ignoring dot directories ([#&#8203;5629](https://togithub.com/stylelint/stylelint/pull/5629)). - Fixed: custom syntax require error handling ([#&#8203;5635](https://togithub.com/stylelint/stylelint/pull/5635)). - Fixed: `function-calc-no-unspaced-operator` false positives for hyphenated functions ([#&#8203;5636](https://togithub.com/stylelint/stylelint/pull/5636)). ### [`v14.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;1400) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.13.1...14.0.0) [Migrating to `14.0.0` guide](docs/migration-guide/to-14.md). - Removed: Node.js 10 support ([#&#8203;5303](https://togithub.com/stylelint/stylelint/pull/5303)). - Removed: `syntax` option ([#&#8203;5297](https://togithub.com/stylelint/stylelint/pull/5297)). - Removed: `configOverrides` option ([#&#8203;5530](https://togithub.com/stylelint/stylelint/pull/5530)). - Removed: rules deprecated in 13.7.0 ([#&#8203;5295](https://togithub.com/stylelint/stylelint/pull/5295)). - Removed: `function-calc-no-invalid` rule ([#&#8203;5296](https://togithub.com/stylelint/stylelint/pull/5296)). - Changed: `ignoreFiles` to be extendable ([#&#8203;5596](https://togithub.com/stylelint/stylelint/pull/5596)). - Security: addressed ReDoS issue with regex in `indentation` ([#&#8203;5539](https://togithub.com/stylelint/stylelint/pull/5539)). - Added: TypeScript type definitions ([#&#8203;5582](https://togithub.com/stylelint/stylelint/pull/5582)). - Added: `customSyntax` option as a property in the configuration object ([#&#8203;5538](https://togithub.com/stylelint/stylelint/pull/5538)). - Added: `overrides` property to configuration object ([#&#8203;5521](https://togithub.com/stylelint/stylelint/pull/5521)). - Added: `disableFix` as secondary option to rules property in the configuration object ([#&#8203;5460](https://togithub.com/stylelint/stylelint/pull/5460)). - Added: `quiet` option to Node.js API ([#&#8203;5542](https://togithub.com/stylelint/stylelint/pull/5542)). - Added: `color-hex-alpha` rule ([#&#8203;5316](https://togithub.com/stylelint/stylelint/pull/5316)). - Added: `custom-property-no-missing-var-function` rule ([#&#8203;5317](https://togithub.com/stylelint/stylelint/pull/5317)). - Added: `function-calc-no-unspaced-operator` autofix ([#&#8203;5273](https://togithub.com/stylelint/stylelint/pull/5273)). - Added: `ignoreFunctions: []` to `length-zero-no-unit` ([#&#8203;5314](https://togithub.com/stylelint/stylelint/pull/5314)). - Added: `ignoreAtRules: []` to `no-invalid-position-at-import` ([#&#8203;5520](https://togithub.com/stylelint/stylelint/pull/5520)). - Added: `ignoreProperties: []` to `number-max-precision` ([#&#8203;5421](https://togithub.com/stylelint/stylelint/pull/5421)). - Fixed: "No files matching the pattern" when using backslash paths on Windows ([#&#8203;5386](https://togithub.com/stylelint/stylelint/pull/5386)). - Fixed: `function-url-quotes` problem messages to be consistent with other `*-quotes` rules ([#&#8203;5488](https://togithub.com/stylelint/stylelint/pull/5488)). - Fixed: `length-zero-no-unit` false positives for `flex` property ([#&#8203;5315](https://togithub.com/stylelint/stylelint/pull/5315)). - Fixed: `media-feature-name-no-unknown` false positives for `prefers-contrast` ([#&#8203;5428](https://togithub.com/stylelint/stylelint/pull/5428)). - Fixed: `media-feature-name-no-unknown` false positives for `dynamic-range` & `video-dynamic-range` ([#&#8203;5613](https://togithub.com/stylelint/stylelint/pull/5613)). - Fixed: `media-feature-name-value-allowed-list` TypeError for spaceless condition ([#&#8203;5581](https://togithub.com/stylelint/stylelint/pull/5581)). - Fixed: `property-no-unknown` false positives for Less maps ([#&#8203;5381](https://togithub.com/stylelint/stylelint/pull/5381)). - Fixed: `selector-class-pattern` false positives for Less parametric mixins ([#&#8203;5378](https://togithub.com/stylelint/stylelint/pull/5378)). - Fixed: `max-empty-lines` autofix for Less comments ([#&#8203;5507](https://togithub.com/stylelint/stylelint/pull/5507)). - Fixed: `named-grid-areas-no-invalid` false negatives for `grid` and `grid-template` shorthand properties ([#&#8203;5514](https://togithub.com/stylelint/stylelint/pull/5514)). - Fixed: `unit-no-unknown` false positives for nested property declarations ([#&#8203;5500](https://togithub.com/stylelint/stylelint/pull/5500)). ### [`v13.13.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;13131) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.13.0...13.13.1) - Fixed: invalid JSON for `max-warnings` option ([#&#8203;5267](https://togithub.com/stylelint/stylelint/pull/5267)). - Fixed: `no-invalid-position-at-import-rule` false positives for dollar variables ([#&#8203;5264](https://togithub.com/stylelint/stylelint/pull/5264)). ### [`v13.13.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;13130) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.12.0...13.13.0) - Added: `no-invalid-position-at-import-rule` rule ([#&#8203;5202](https://togithub.com/stylelint/stylelint/pull/5202)). - Added: `no-irregular-whitespace` rule ([#&#8203;5209](https://togithub.com/stylelint/stylelint/pull/5209)). - Added: `selector-disallowed-list` rule ([#&#8203;5239](https://togithub.com/stylelint/stylelint/pull/5239)). - Added: `selector-attribute-quotes` autofix ([#&#8203;5248](https://togithub.com/stylelint/stylelint/pull/5248)). - Added: `ignore: ["inside-function"]` to `declaration-property-unit-allowed-list` ([#&#8203;5194](https://togithub.com/stylelint/stylelint/pull/5194)). - Fixed: `color-no-hex` false positives for CSS-in-JS objection notation ([#&#8203;5186](https://togithub.com/stylelint/stylelint/pull/5186)). - Fixed: `font-family-no-missing-generic-family-keyword` false positives for variables ([#&#8203;5240](https://togithub.com/stylelint/stylelint/pull/5240)). - Fixed: `length-zero-no-unit` autofix removing trailing zeroes ([#&#8203;5256](https://togithub.com/stylelint/stylelint/pull/5256)). - Fixed: `length-zero-no-unit` false positives for level 4 math functions ([#&#8203;5203](https://togithub.com/stylelint/stylelint/pull/5203)). - Fixed: `length-zero-no-unit` false positives for functions inside of math functions ([#&#8203;5245](https://togithub.com/stylelint/stylelint/pull/5245)). ### [`v13.12.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;13120) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.11.0...13.12.0) - Added: `named-grid-areas-no-invalid` rule ([#&#8203;5167](https://togithub.com/stylelint/stylelint/pull/5167)). - Added: `ignore: ["single-declaration"]` to `declaration-block-trailing-semicolon` ([#&#8203;5165](https://togithub.com/stylelint/stylelint/pull/5165)). - Fixed: `*-no-unknown` false positives ([#&#8203;5158](https://togithub.com/stylelint/stylelint/pull/5158)). - Fixed: `selector-pseudo-class-no-unknown` false positives for `:autofill` ([#&#8203;5171](https://togithub.com/stylelint/stylelint/pull/5171)). ### [`v13.11.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;13110) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.10.0...13.11.0) - Added: exceptions and severity options to `report*` configuration object properties ([#&#8203;5143](https://togithub.com/stylelint/stylelint/pull/5143)). ### [`v13.10.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;13100) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.9.0...13.10.0) - Added: `ignoreDisables`, `reportNeedlessDisables`, `reportInvalidScopeDisables` and `reportDescriptionlessDisables` configuration object properties ([#&#8203;5126](https://togithub.com/stylelint/stylelint/pull/5126)). - Added: `declaration-block-no-duplicate-custom-properties` rule ([#&#8203;5125](https://togithub.com/stylelint/stylelint/pull/5125)). - Fixed: `alpha-value-notation` false negatives for CSS Variables ([#&#8203;5130](https://togithub.com/stylelint/stylelint/pull/5130)). ### [`v13.9.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;1390) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.8.0...13.9.0) - Added: TAP formatter ([#&#8203;5062](https://togithub.com/stylelint/stylelint/pull/5062)). - Fixed: incorrect exit code when using `--report` options ([#&#8203;5079](https://togithub.com/stylelint/stylelint/pull/5079)). - Fixed: `color-hex-case` false negatives for css-in-js object notation ([#&#8203;5101](https://togithub.com/stylelint/stylelint/pull/5101)). - Fixed: `color-hex-length` false negatives for css-in-js object notation ([#&#8203;5106](https://togithub.com/stylelint/stylelint/pull/5106)). - Fixed: `selector-attribute-name-disallowed-list` false positives for valueless attribute selectors ([#&#8203;5060](https://togithub.com/stylelint/stylelint/pull/5060)). ### [`v13.8.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#&#8203;1380) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.7.2...13.8.0) - Deprecated: `StylelintStandaloneReturnValue.reportedDisables`, `.descriptionlessDisables`, `.needlessDisables`, and `.invalidScopeDisables`. `.reportedDisables` will always be empty and the other properties will always be undefined, since these errors now show up in `.results` instead ([#&#8203;4973](https://togithub.com/stylelint/stylelint/pull/4973)). - Added: disable comments that are reported as errors for various reasons are now reported as standard lint errors rather than a separate class of errors that must be handled specially ([#&#8203;4973](https://togithub.com/stylelint/stylelint/pull/4973)). - Added: `comment-pattern` rule ([#&#8203;4962](https://togithub.com/stylelint/stylelint/pull/4962)). - Added: `selector-attribute-name-disallowed-list` rule ([#&#8203;4992](https://togithub.com/stylelint/stylelint/pull/4992)). - Added: `ignoreAtRules[]` to `property-no-unknown` ([#&#8203;4965](https://togithub.com/stylelint/stylelint/pull/4965)). - Fixed: `*-notation` false negatives for dollar variables ([#&#8203;5031](https://togithub.com/stylelint/stylelint/pull/5031)). - Fixed: `*-pattern` missing configured pattern in problem messages ([#&#8203;4975](https://togithub.com/stylelint/stylelint/pull/4975)). </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom-nextjs-template).
1 parent b344cec commit 42a5f5e

File tree

3 files changed

+159
-938
lines changed

3 files changed

+159
-938
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"react": "17.0.2",
5656
"react-dom": "17.0.2",
5757
"rtlcss": "^2.6.2",
58-
"stylelint": "^13.3.2",
58+
"stylelint": "^14.0.0",
5959
"webpack": "^4.41.5"
6060
},
6161
"resolutions": {

packages/stylelint-config-ibmdotcom/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"react"
1818
],
1919
"peerDependencies": {
20-
"stylelint": "^13.7.2"
20+
"stylelint": "^14.0.0"
2121
},
2222
"dependencies": {
2323
"stylelint-config-prettier": "^9.0.0",
2424
"stylelint-prettier": "^1.1.2",
2525
"stylelint-scss": "^4.0.0"
2626
},
2727
"devDependencies": {
28-
"stylelint": "^13.7.2"
28+
"stylelint": "^14.0.0"
2929
}
3030
}

0 commit comments

Comments
 (0)