Skip to content

Commit 3c86913

Browse files
Update dependency stylelint to v15.11.0 (#2424)
1 parent 0744cb8 commit 3c86913

File tree

7 files changed

+1353
-1938
lines changed

7 files changed

+1353
-1938
lines changed

Diff for: .stylelintrc

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
22
"extends": ["stylelint-config-recommended", "stylelint-config-standard-scss"],
33
"plugins": ["stylelint-scss", "stylelint-no-unsupported-browser-features"],
4-
"rules": {
5-
"at-rule-no-unknown": null,
6-
"function-no-unknown": null,
7-
"media-query-no-invalid": null,
8-
"color-function-notation": null,
9-
"scss/at-rule-no-unknown": true,
10-
"at-rule-empty-line-before": null,
11-
"declaration-empty-line-before": null
12-
}
4+
"rules": {}
135
}

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
"@rollup/plugin-alias": "5.0.1",
8080
"@testing-library/jest-dom": "6.1.4",
8181
"@testing-library/react": "14.0.0",
82-
"@types/jest": "29.5.5",
82+
"@types/jest": "29.5.6",
8383
"@types/loadable__component": "5.13.5",
84-
"@types/node": "18.18.5",
84+
"@types/node": "20.8.6",
8585
"@types/postcss-flexbugs-fixes": "5.0.1",
8686
"@types/react": "18.2.28",
8787
"@types/react-dom": "18.2.13",
@@ -108,7 +108,7 @@
108108
"postcss-flexbugs-fixes": "5.0.2",
109109
"redux-mock-store": "1.5.4",
110110
"sass": "1.69.4",
111-
"stylelint": "15.10.3",
111+
"stylelint": "15.11.0",
112112
"stylelint-config-recommended": "13.0.0",
113113
"stylelint-config-standard-scss": "11.0.0",
114114
"stylelint-no-unsupported-browser-features": "7.0.0",

Diff for: src/assets/styles/mixins.scss

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66

77
@mixin flex-row($wrap: wrap, $align: stretch, $justify: space-between) {
88
@include flex($align, $justify);
9+
910
flex-flow: row $wrap;
1011
}
1112

1213
@mixin flex-column($wrap: nowrap, $align: stretch, $justify: space-between) {
1314
@include flex($align, $justify);
15+
1416
flex-flow: column $wrap;
1517
}
1618

@@ -21,7 +23,7 @@
2123
}
2224

2325
@mixin desktop-only {
24-
@media (min-width: $tablet-landscape + 1) {
26+
@media (calc($tablet-landscape + 1) <= width) {
2527
@content;
2628
}
2729
}
@@ -33,7 +35,7 @@
3335
}
3436

3537
@mixin tablet-landscape-only {
36-
@media (min-width: $tablet-portrait + 1) and (max-width: $tablet-landscape) {
38+
@media (calc($tablet-portrait + 1) <= width <= $tablet-landscape) {
3739
@content;
3840
}
3941
}
@@ -45,7 +47,7 @@
4547
}
4648

4749
@mixin tablet-portrait-only {
48-
@media (min-width: $mobile + 1) and (max-width: $tablet-portrait) {
50+
@media (calc($mobile + 1) <= width <= $tablet-portrait) {
4951
@content;
5052
}
5153
}

Diff for: src/components/header/index.scss

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.c-nav {
66
ul {
77
@include flex-row(nowrap, center, flex-start);
8+
89
padding: 0;
910
margin: 0;
1011
list-style: none outside none;

Diff for: src/components/wrapper/index.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@
130130
textarea {
131131
height: 200px;
132132
resize: none;
133-
overflow-x: hidden;
134-
overflow-y: auto;
133+
overflow: hidden auto;
135134
-webkit-overflow-scrolling: touch;
136135
}
137136

@@ -160,6 +159,7 @@
160159
font-size: 0.75rem;
161160
line-height: 1.5;
162161
margin-bottom: 0.25rem;
162+
163163
@include flex-row(nowrap, center, space-between);
164164
}
165165
}

Diff for: src/containers/not-found/index.scss

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
color: $color-error;
55
text-align: center;
66
height: 100%;
7+
78
@include flex-row(wrap, center, center);
89
}

0 commit comments

Comments
 (0)