Skip to content

Commit

Permalink
Prepare 13.0.0 (#196)
Browse files Browse the repository at this point in the history
Changes:

- bump Stylelint to `15.10.0` (latest version)
- enables `media-query-no-invalid`
- changes test introduced in #195
  • Loading branch information
mattxwang committed Jul 4, 2023
1 parent 7849987 commit be39096
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 37 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 13.0.0

- Removed: `stylelint` less than `15.10.0` from peer dependencies.
- Added: `media-query-no-invalid` rule.

## 12.0.0

- Removed: `stylelint` less than `15.5.0` from peer dependencies.
Expand Down
2 changes: 1 addition & 1 deletion __tests__/engines.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const pkg = require('../package.json');
describe('engines.node', () => {
it("is the same as stylelint's one", () => {
const stylelintVersion = pkg.peerDependencies.stylelint;
const [nodeVersion] = JSON.parse(
const nodeVersion = JSON.parse(
execFileSync('npm', [
'view',
'--json',
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
'keyframe-block-no-duplicate-selectors': true,
'keyframe-declaration-no-important': true,
'media-feature-name-no-unknown': true,
'media-query-no-invalid': true,
'named-grid-areas-no-invalid': true,
'no-descending-specificity': true,
'no-duplicate-at-import-rules': true,
Expand Down
67 changes: 33 additions & 34 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 @@ -59,10 +59,10 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"remark-cli": "^11.0.0",
"stylelint": "^15.8.0"
"stylelint": "^15.10.0"
},
"peerDependencies": {
"stylelint": "^15.5.0"
"stylelint": "^15.10.0"
},
"engines": {
"node": "^14.13.1 || >=16.0.0"
Expand Down

0 comments on commit be39096

Please sign in to comment.