Skip to content

Commit

Permalink
bump stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Aug 22, 2023
1 parent 8baa2af commit 6c818d0
Show file tree
Hide file tree
Showing 10 changed files with 515 additions and 535 deletions.
1,034 changes: 512 additions & 522 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@changesets/cli": "^2.26.1",
"@csstools/postcss-sass": "^5.0.1",
"@github/prettier-config": "^0.0.6",
"@primer/stylelint-config": "^12.7.1",
"@primer/stylelint-config": "^12.8.0",
"autoprefixer": "^10.4.13",
"chokidar-cli": "^3.0.0",
"cssstats": "^4.0.5",
Expand Down
4 changes: 0 additions & 4 deletions src/layout/page-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;
--Layout-row-gap: #{$spacer-3};

// the `px` unit is mandatory for `calc()` execution. See https://stackoverflow.com/a/32518348
// stylelint-disable length-zero-no-unit
--Layout-outer-spacing-x: 0px; // wrapper margin x
--Layout-outer-spacing-y: 0px; // wrapper margin y
--Layout-inner-spacing-min: 0px; // default region padding
--Layout-inner-spacing-max: 0px; // relaxed content horizontal padding
// stylelint-enable length-zero-no-unit
}

// Layout beta mixins
Expand Down Expand Up @@ -378,7 +376,6 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;

.PageLayout--columnGap-none {
// the `px` unit is mandatory for `calc()` execution. See https://stackoverflow.com/a/32518348
// stylelint-disable-next-line length-zero-no-unit
--Layout-column-gap: 0px;
}

Expand All @@ -394,7 +391,6 @@ $Layout-responsive-variant-max-breakpoint: 'md' !default;

.PageLayout--rowGap-none {
// the `px` unit is mandatory for `calc()` execution. See https://stackoverflow.com/a/32518348
// stylelint-disable length-zero-no-unit
--Layout-row-gap: 0px;
}

Expand Down
1 change: 0 additions & 1 deletion src/marketing/utilities/layout.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Layout utilities
// stylelint-disable block-opening-brace-space-before

// Responsive utilities to position content
// No utilities for sm and xl breakpoints
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/borders.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Core border utilities
// stylelint-disable block-opening-brace-space-before, primer/borders
// stylelint-disable primer/borders

/* Add a gray border to the left and right */
.border-x {
Expand Down
1 change: 0 additions & 1 deletion src/utilities/colors.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// stylelint-disable block-opening-brace-space-before

// Foreground

Expand Down
1 change: 0 additions & 1 deletion src/utilities/flexbox.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Flex utility classes
// stylelint-disable block-opening-brace-space-before
@each $breakpoint, $variant in $responsive-variants {
@include breakpoint($breakpoint) {
// Flexbox classes
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/layout.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Layout
// stylelint-disable block-opening-brace-space-before, comment-empty-line-before
// stylelint-disable comment-empty-line-before

/* Position */
@each $breakpoint, $variant in $responsive-variants {
Expand Down
2 changes: 0 additions & 2 deletions src/utilities/margin.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Margin spacer utilities
// stylelint-disable block-opening-brace-space-before
// stylelint-disable declaration-colon-space-before
// stylelint-disable comment-empty-line-before
// stylelint-disable primer/spacing

Expand Down
1 change: 0 additions & 1 deletion src/utilities/padding.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Padding spacer utilities
// stylelint-disable block-opening-brace-space-before
// stylelint-disable comment-empty-line-before
// stylelint-disable primer/spacing

Expand Down

0 comments on commit 6c818d0

Please sign in to comment.