Skip to content

Commit

Permalink
Upgrade stylelint from 14.8.1 to 14.9.1 (#192)
Browse files Browse the repository at this point in the history
* New rule: `keyframe-block-no-duplicate-selectors`

Provide by upgrading stylelint-config-recommended from 7.0.0 to 8.0.0,
which we should have done before for compatibility with the versions
of stylelint we're using; whoops.
  • Loading branch information
jdforrester committed Nov 3, 2022
1 parent 9a7e31d commit 67aa4b6
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 76 deletions.
145 changes: 71 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"browserslist-config-wikimedia": "0.4.0",
"postcss-less": "6.0.0",
"postcss-html": "1.5.0",
"stylelint": "14.8.1",
"stylelint-config-recommended": "7.0.0",
"stylelint": "14.9.1",
"stylelint-config-recommended": "8.0.0",
"stylelint-no-unsupported-browser-features": "5.0.3"
},
"peerDependencies": {
Expand Down
11 changes: 11 additions & 0 deletions test/fixtures/default/invalid.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,17 @@ span {
/* ... */
}

@keyframes foo {
/* stylelint-disable-next-line block-no-empty */
0% {

}
/* stylelint-disable-next-line keyframe-block-no-duplicate-selectors, block-no-empty */
0% {

}
}

.a .k {
/* stylelint-disable-next-line named-grid-areas-no-invalid */
grid-template-areas: '';
Expand Down

0 comments on commit 67aa4b6

Please sign in to comment.