-
Notifications
You must be signed in to change notification settings - Fork 207
chore(stylelint): audit and remove unnecessary stylelint properties #3346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
c96a038 to
2b2ed76
Compare
|
🚀 Deployed on https://pr-3346--spectrum-css.netlify.app |
File metricsSummaryTotal size: 4.30 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailscheckbox
dial
slider
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
castastrophe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved however some of the switch updates might be challenging to merge in with the foundations work. I think it should be fine though. I'll take the rebase carefully.
marissahuysentruyt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4196d36 to
0de5503
Compare
marissahuysentruyt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I don't think I see any of the errors you mentioned in the PR description 🏆
This may be in other work or cards, maybe we don't want addressing them, but I wanted to just list a few of the other stylelint errors I see in my terminal:
plugin/no-low-performance-animation-properties (various components)
selector-class-pattern (i.e. typography, stepper)
spectrum-tool/no-unknown-custom-properties (i.e. infield button, radio)
spectrum-tools/no-unused-custom-properties (i.e. slider, table)
order/order (i.e. tooltip)
0de5503 to
e1843d8
Compare
- Removes unnecessary disables - Adjusts nesting to resolve lint violations - update opacity values and remove comments for unsupported ChromeVox version
e1843d8 to
8765292
Compare


Description
checkboxand removes stylelint disable comments.colorhandle,colorloupe,siteandswatch.stylelintconfig to ignoreforced-color-adjust: preserve-parent-colorswitchto resolvestylelintviolationsHow and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
yarn linterand verify that there are no max depth, property order, unknown custom property, max precision, declaration property no unknown or forced color violationsRegression testing
Validate:
To-do list