Skip to content

Commit 3906346

Browse files
authored
Upgrading @primer/stylelint-config@12.3.3 (#1956)
* Upgrading @primer/stylelint-config@12.3.2 * @primer/stylelint-config@12.3.3 * Create few-humans-relax.md
1 parent ad85c91 commit 3906346

File tree

8 files changed

+16
-5
lines changed

8 files changed

+16
-5
lines changed

.changeset/few-humans-relax.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Upgrading @primer/stylelint-config@12.3.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@changesets/cli": "2.20.0",
4747
"@github/prettier-config": "0.0.4",
4848
"@koddsson/postcss-sass": "5.0.1",
49-
"@primer/stylelint-config": "^12.3.1",
49+
"@primer/stylelint-config": "^12.3.3",
5050
"autoprefixer": "10.4.2",
5151
"chokidar-cli": "3.0.0",
5252
"cssstats": "4.0.2",

src/actionlist/action-list-item-divider.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
display: block;
1717
height: 1px;
1818
padding: 0;
19+
// stylelint-disable-next-line primer/spacing
1920
margin: ($spacer-2 - 1px) ($spacer-2 * -1) $spacer-2;
2021
list-style: none;
2122
background: var(--color-action-list-item-inline-divider);

src/actionlist/action-list-tree.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129

130130
// --ActionList-tree-depth is defined as an inline style referencing the aria-level of each item ie: aria-level="2"
131131
.ActionList-content {
132+
// stylelint-disable-next-line primer/spacing
132133
padding-left: calc(#{$spacer-2} * var(--ActionList-tree-depth));
133134
}
134135
}

src/forms/radio-group.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
.radio-label {
88
float: left;
9+
// stylelint-disable-next-line primer/spacing
910
padding: 6px $spacer-3 6px ($spacer-3 + 12px + $spacer-2); // 12px is the size of the radio-input
1011
// stylelint-disable-next-line primer/spacing
1112
margin-left: -1px;

src/layout/page-layout.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
245245

246246
.PageLayout-region--dividerNarrow-filled-before {
247247
position: relative;
248+
// stylelint-disable-next-line primer/spacing
248249
margin-top: calc(#{$spacer-2} + var(--Layout-row-gap));
249250

250251
&::after {
@@ -256,6 +257,7 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
256257

257258
.PageLayout-region--dividerNarrow-filled-after {
258259
position: relative;
260+
// stylelint-disable-next-line primer/spacing
259261
margin-bottom: calc(#{$spacer-2} + var(--Layout-row-gap));
260262

261263
&::before {

src/marketing/utilities/layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
@each $breakpoint, $variant in $responsive-variants {
2828
@include breakpoint($breakpoint) {
2929
@for $offset from 1 through 7 {
30+
// stylelint-disable-next-line primer/spacing
3031
.offset#{$variant}-n#{$offset} { margin-left: -($offset * 0.0833333333 * 100%); }
3132
}
3233
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,10 +1153,10 @@
11531153
resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-7.4.0.tgz#75df54a80233a432b687c0e3010e4be6bd60a82d"
11541154
integrity sha512-gD6yHXN7YKox/bdUNgxhoSS/WXZVaORK1r4dOAyTrdoPrLV/ucIfRInPyVcTF+Mqr0zcTFJtiMtuA5Y8CSyOEg==
11551155

1156-
"@primer/stylelint-config@^12.3.1":
1157-
version "12.3.1"
1158-
resolved "https://registry.yarnpkg.com/@primer/stylelint-config/-/stylelint-config-12.3.1.tgz#96905721dd15ff52ed26a97e81c165a189d44eaf"
1159-
integrity sha512-Bii+wGxPmXf23sfStuYPXD/os5wKPgnnUZLv0U+SiYGJTlVFTtdcxz1lk2xEI56cCRMjvTOgUWDVeGy3TeW+/w==
1156+
"@primer/stylelint-config@^12.3.3":
1157+
version "12.3.3"
1158+
resolved "https://registry.yarnpkg.com/@primer/stylelint-config/-/stylelint-config-12.3.3.tgz#f4ef0548a7884229358e5243d746d6d3af6a73a5"
1159+
integrity sha512-PHcBGEM/8mToW9aVrcRi9RVZN0WpW8zHN1C8+deP6tozclP06jzHsdprJG02buyR6N1BmDllsEBYZ2KK4Y71Bg==
11601160
dependencies:
11611161
anymatch "^3.1.1"
11621162
globby "^11.0.1"

0 commit comments

Comments
 (0)