Skip to content

Commit 9f656eb

Browse files
chore(deps-dev): bump stylelint-config-standard-scss from 15.0.1 to 16.0.0 in the stylelint group (#4960)
* chore(deps-dev): bump stylelint-config-standard-scss Bumps the stylelint group with 1 update: [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss). Updates `stylelint-config-standard-scss` from 15.0.1 to 16.0.0 - [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases) - [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md) - [Commits](stylelint-scss/stylelint-config-standard-scss@v15.0.1...v16.0.0) --- updated-dependencies: - dependency-name: stylelint-config-standard-scss dependency-version: 16.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: stylelint ... Signed-off-by: dependabot[bot] <support@github.com> * refactor: stylelint feedback --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maximilian Franzke <maximilian.franzke@deutschebahn.com>
1 parent 9dbdc29 commit 9f656eb

File tree

10 files changed

+38
-78
lines changed

10 files changed

+38
-78
lines changed

package-lock.json

Lines changed: 23 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"rimraf": "6.0.1",
129129
"rxjs": "7.8.2",
130130
"stylelint": "16.24.0",
131-
"stylelint-config-standard-scss": "^15.0.1",
131+
"stylelint-config-standard-scss": "^16.0.0",
132132
"stylelint-use-logical": "2.1.2",
133133
"tslib": "2.8.1",
134134
"tsx": "4.20.5",

packages/components/src/components/drawer/drawer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ $spacings: (
8080
);
8181

8282
@mixin get-spacing($spacing) {
83-
/* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
83+
/* stylelint-disable-next-line block-no-redundant-nested-style-rules */
8484
& {
8585
padding-block: map.get($spacing, "block");
8686
}

packages/components/src/styles/internal/_form-components.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ $input-valid-types:
306306
// base inline size for inputs without icons
307307
min-inline-size: $db-min-inline-size;
308308

309-
/* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector */
309+
/* stylelint-disable-next-line block-no-redundant-nested-style-rules */
310310
& {
311311
--db-form-has-before: 0;
312312

packages/foundations/scss/fonts/_font-sizes.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
/* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
55
@layer #{helpers.$layer-variables} {
66
/* Those variables are only for components to calculate heights and change icons */
7+
// stylelint-disable-next-line no-invalid-position-declaration
78
--db-icon-font-weight: var(--db-base-body-icon-weight-#{$size});
9+
// stylelint-disable-next-line no-invalid-position-declaration
810
--db-icon-font-size: var(--db-base-body-icon-font-size-#{$size});
911
}
1012
}
@@ -17,7 +19,9 @@
1719
/* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
1820
@layer #{helpers.$layer-variables} {
1921
/* Those variables are only for components to calculate heights and change icons */
22+
// stylelint-disable-next-line no-invalid-position-declaration
2023
--db-icon-font-weight: var(--db-base-headline-icon-weight-#{$size});
24+
// stylelint-disable-next-line no-invalid-position-declaration
2125
--db-icon-font-size: var(--db-base-headline-icon-font-size-#{$size});
2226
}
2327
}

packages/foundations/scss/helpers/_a11y.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%a11y-visually-hidden {
2+
// stylelint-disable-next-line property-no-deprecated
23
clip: rect(0, 0, 0, 0) !important;
34
overflow: hidden !important;
45
white-space: nowrap !important;

packages/foundations/scss/helpers/_divider.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
@media (forced-colors: active) {
4545
// border is the better implementation, but border height changes in windows based on pixel density
4646
// we use it as a fallback for color contrast
47-
/* stylelint-disable-next-line db-ux/use-border-color */
47+
/* stylelint-disable-next-line no-invalid-position-declaration, db-ux/use-border-color */
4848
border: variables.$db-border-width-3xs solid var(--db-divider-bg-color);
4949
}
5050
}

packages/foundations/scss/helpers/_focus.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
var(--db-focus-box-shadow-bg-color, transparent);
1313

1414
@media screen and (prefers-reduced-motion: no-preference) {
15+
// stylelint-disable-next-line no-invalid-position-declaration
1516
transition:
1617
outline #{variables.$db-transition-duration-extra-fast},
1718
box-shadow #{variables.$db-transition-duration-extra-fast};

packages/foundations/scss/icons/_icon-helpers.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
4343
content: $icon;
4444

4545
// Hiding icon from screenreaders, https://www.w3.org/TR/css-content-3/#alt
46-
// TODO: remove the @support wrapper as soon as we drop our partly-support for Firefox < version 128 (Enterprise ESR / Extended Support Release; expected to end in 2025, September / https://whattrainisitnow.com/calendar/)
46+
// TODO: remove the @support wrapper as soon as we drop our partly-support for Firefox < version 128 (Enterprise ESR / Extended Support Release; expected to end in 2026, March / https://whattrainisitnow.com/calendar/)
4747
@supports (content: ""/"") {
48+
// stylelint-disable-next-line no-invalid-position-declaration
4849
content: $icon / "";
4950
}
5051
}
@@ -156,10 +157,12 @@ $default-icon-font-size: var(--db-icon-font-size, #{$default-icon-size-rem});
156157
@include icon-content($default-icon-content); // TODO: ONLY FOR data-icon
157158

158159
// Hiding icon from screenreaders
160+
// stylelint-disable-next-line media-type-no-deprecated
159161
@media aural {
160162
content: none;
161163
}
162164

165+
// stylelint-disable-next-line media-type-no-deprecated
163166
@media speech {
164167
content: none;
165168
}

packages/stylelint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"postcss": "8.5.6",
3737
"postcss-html": "1.8.0",
3838
"stylelint-config-standard": "39.0.0",
39-
"stylelint-config-standard-scss": "15.0.1",
39+
"stylelint-config-standard-scss": "16.0.0",
4040
"stylelint-config-standard-vue": "1.0.0",
4141
"typescript": "5.8.3",
4242
"vitest": "3.2.4"

0 commit comments

Comments
 (0)