chore(deps): Upgrade stylelint from 12 to 16 - #1735
Merged
Merged
Conversation
Align packages with box-ui-elements, replace the dead rational-order config with standard-scss, and autofix SCSS for new stylelint rules.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
zhirongwang
approved these changes
Aug 12, 2026
jmcbgaston
reviewed
Aug 12, 2026
jmcbgaston
reviewed
Aug 12, 2026
jmcbgaston
reviewed
Aug 12, 2026
| 'no-duplicate-selectors': null, // fixme | ||
| 'selector-no-vendor-prefix': null, // fixme | ||
| 'property-no-unknown': null, // fixme | ||
| 'at-rule-no-vendor-prefix': null, // fixme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades stylelint from 12 to 16 and aligns the CSS lint stack with box-ui-elements so Preview can keep linting SCSS on current stylelint.
stylelintto^16.26.1,stylelint-config-standardto^38, addsstylelint-config-standard-scss^14, and bumpsstylelint-orderto^6stylelint-config-rational-orderand stops extending the stale@box/frontend@6stylelint presetstylelint.config.jsto the standard-scss + order setup used by BUE, including the same pragmatic rule nulls and a class-name pattern that allows digits (mp3,360,v2)--syntax scssflag from lint-stagedrgb()/ alpha%,inset, shorthand cleanup)Why
Matching BUIE package version stylelint 16.
Test plan
yarn lint(stylelint + eslint + tsc)--changedSince=upstream/master(no related unit tests)inset/ color autofixes