Skip to content

Commit

Permalink
Merge pull request #1355 from skaut/dependabot/npm_and_yarn/multi-2cb…
Browse files Browse the repository at this point in the history
…4920f08

Bump stylelint, @wordpress/stylelint-config and stylelint-no-unsupported-browser-features
  • Loading branch information
marekdedic authored Sep 20, 2024
2 parents 3e405bd + ebe69ae commit 7bccb30
Show file tree
Hide file tree
Showing 8 changed files with 432 additions and 556 deletions.
954 changes: 415 additions & 539 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@typescript-eslint/parser": "^7.18.0",
"@wordpress/browserslist-config": "^6.8.0",
"@wordpress/eslint-plugin": "^21.1.2",
"@wordpress/stylelint-config": "^22.7.0",
"@wordpress/stylelint-config": "^23.0.1",
"eslint": "^8.57.1",
"eslint-plugin-compat": "^6.0.1",
"eslint-plugin-deprecation": "^3.0.0",
Expand All @@ -66,8 +66,9 @@
"npm-run-all": "^4.1.5",
"ordered-read-streams": "^2.0.0",
"rimraf": "^6.0.1",
"stylelint": "^14.16.1",
"stylelint-no-unsupported-browser-features": "^7.0.0",
"stylelint": "^16.9.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-no-unsupported-browser-features": "^8.0.1",
"typescript": "^5.6.2"
},
"browserslist": [
Expand Down
5 changes: 1 addition & 4 deletions src/css/admin/preset_on_activation.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@
}

#crdm-modern-preset-on-activation-overflow {
bottom: 60px;
left: 0;
inset: 60px 0;
overflow-y: auto;
padding: 20px 30px;
position: absolute;
right: 0;
top: 60px;
}

#crdm-modern-preset-on-activation-footer {
Expand Down
2 changes: 1 addition & 1 deletion src/css/frontend/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
padding-bottom: 0;
position: relative;
cursor: pointer;
transition: color 0.1s ease-in-out; /*stylelint-disable-line plugin/no-unsupported-browser-features */
transition: color 0.1s ease-in-out; /* stylelint-disable-line plugin/no-unsupported-browser-features */
}

.post-image-aligned-center .crdm-modern-excerpt .post-image,
Expand Down
6 changes: 3 additions & 3 deletions src/css/frontend/footer.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.footer-widgets .widget_nav_menu { /*stylelint-disable-line selector-class-pattern */
.footer-widgets .widget_nav_menu { /* stylelint-disable-line selector-class-pattern */
font-weight: 700;
}

.footer-widgets .widget_text a { /*stylelint-disable-line selector-class-pattern */
.footer-widgets .widget_text a { /* stylelint-disable-line selector-class-pattern */
text-decoration: underline;
}

.footer-widgets .widget_nav_menu a:hover { /*stylelint-disable-line selector-class-pattern */
.footer-widgets .widget_nav_menu a:hover { /* stylelint-disable-line selector-class-pattern */
text-decoration: underline;
}

Expand Down
2 changes: 1 addition & 1 deletion src/css/frontend/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
border-left-style: solid;
}

.sidebar .inside-right-sidebar .widget.widget_search { /*stylelint-disable-line selector-class-pattern */
.sidebar .inside-right-sidebar .widget.widget_search { /* stylelint-disable-line selector-class-pattern */
border-left: none;
padding-left: 0 !important;
}
Expand Down
2 changes: 1 addition & 1 deletion src/css/frontend/title-widget.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
.site-footer .footer-widgets .footer-widgets-container .inside-footer-widgets .grid-parent {
margin-left: auto;
margin-right: auto;
width: max-content; /*stylelint-disable-line plugin/no-unsupported-browser-features */
width: max-content; /* stylelint-disable-line plugin/no-unsupported-browser-features */
max-width: 100%;
}
}
10 changes: 6 additions & 4 deletions stylelint.config.cjs → stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
/* eslint-env node */

/** @type {import('stylelint').Config} */
module.exports = {
extends: '@wordpress/stylelint-config',
export default {
extends: [
'stylelint-config-standard',
'@wordpress/stylelint-config/stylistic',
],
plugins: ['stylelint-no-unsupported-browser-features'],
rules: {
'media-feature-range-notation': 'prefix',
'plugin/no-unsupported-browser-features': [
true,
{
Expand Down

0 comments on commit 7bccb30

Please sign in to comment.