Skip to content

Commit 3dc12b5

Browse files
tbradshamatticbot
authored andcommitted
Stylelint: Fix auto-fixables (#43213)
* Undisable length-zero-no-unit * Handle length-zero-no-unit in non-style files * Undisable selector-attribute-quotes * Handle some instances of selector-attribute-quotes manually * Undisable value-keyword-case * Remove value-keyword-case violation that is redundant * Undisable function-url-quotes * Undisable declaration-block-no-duplicate-properties * Alphabetize rules * Add changelogs * Keep no-descending-specificity disabled with a comment * Oops, unfix these * Add link to recommendation to disable no-descending-specificity if nesting is used Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/14626617107 Upstream-Ref: Automattic/jetpack@817c26e
1 parent 63df1a0 commit 3dc12b5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This is an alpha version! The changes listed here are not final.
1717

1818
### Fixed
1919
- Code: Update stylesheets to use hex instead of named colors.
20+
- Linting: Fix more Stylelint violations.
2021

2122
## [2.0.1] - 2025-04-04
2223
### Changed

styling/dashboard.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
.wpsc-nav-tab:hover,
108108
.wpsc-nav-tab:focus,
109109
.wpsc-nav-tab.wpsc-nav-tab-selected {
110-
box-shadow: inset 0px -1px 0px rgb(0, 0, 0);
110+
box-shadow: inset 0 -1px 0 rgb(0, 0, 0);
111111
}
112112

113113
.wpsc-nav-tab a {

wp-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ function toggleLayer( whichLayer ) {
11151115
<style>
11161116
.wpsc-boost-banner {
11171117
margin: 2px 1.25rem 1.25rem 0;
1118-
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.03);
1118+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.03);
11191119
border: 1px solid #d5d5d5;
11201120
position: relative;
11211121
}

0 commit comments

Comments
 (0)