Skip to content

Commit

Permalink
Prepare 26.0.0 (#253)
Browse files Browse the repository at this point in the history
* Refactor out redundant no-irregular-whitespace

* Add selector-not-notation

* Add import-notation

* Update deps

* Update changelog

* Update version number

* Update recommended config

* Fix order

* Fix fixture
  • Loading branch information
jeddy3 committed Jun 8, 2022
1 parent 74b33f7 commit 848e372
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 47 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog

## 26.0.0

- Removed: `stylelint` less than `14.9.0` from peer dependencies.
- Changed: updated to [`stylelint-config-recommended@8.0.0`](https://github.com/stylelint/stylelint-config-recommended/releases/tag/8.0.0)
- Added: `import-notation` rule.
- Added: `selector-not-notation` rule.

## 25.0.0

- Removed: `stylelint` less than `14.4.0` from peer dependencies.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,8 +17,8 @@ To see the rules that this config uses, please read the [config itself](./index.

<!-- prettier-ignore -->
```css
@import url("x.css");
@import url("y.css");
@import "x.css";
@import "y.css";

/**
* Multi-line comment
Expand Down
4 changes: 2 additions & 2 deletions __tests__/valid.css
@@ -1,5 +1,5 @@
@import url("x.css");
@import url("y.css");
@import "x.css";
@import "y.css";

/**
* Multi-line comment
Expand Down
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -86,6 +86,7 @@ module.exports = {
'function-url-quotes': 'always',
'function-whitespace-after': 'always',
'hue-degree-notation': 'angle',
'import-notation': 'string',
indentation: 2,
'keyframes-name-pattern': [
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
Expand All @@ -108,7 +109,6 @@ module.exports = {
'media-query-list-comma-space-before': 'never',
'no-empty-first-line': true,
'no-eol-whitespace': true,
'no-irregular-whitespace': true,
'no-missing-end-of-source-newline': true,
'number-leading-zero': 'always',
'number-max-precision': 4,
Expand Down Expand Up @@ -145,6 +145,7 @@ module.exports = {
'selector-list-comma-space-before': 'never',
'selector-max-empty-lines': 0,
'selector-no-vendor-prefix': true,
'selector-not-notation': 'complex',
'selector-pseudo-class-case': 'lower',
'selector-pseudo-class-parentheses-space-inside': 'never',
'selector-pseudo-element-case': 'lower',
Expand Down
87 changes: 48 additions & 39 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -45,7 +45,7 @@
]
},
"dependencies": {
"stylelint-config-recommended": "^7.0.0"
"stylelint-config-recommended": "^8.0.0"
},
"devDependencies": {
"@stylelint/prettier-config": "^2.0.0",
Expand All @@ -59,9 +59,9 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"remark-cli": "^10.0.1",
"stylelint": "^14.8.5"
"stylelint": "^14.9.0"
},
"peerDependencies": {
"stylelint": "^14.4.0"
"stylelint": "^14.9.0"
}
}

0 comments on commit 848e372

Please sign in to comment.