Skip to content

Commit dc620a1

Browse files
committed
Release 3.0.0
1 parent b8033bf commit dc620a1

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## 3.0.0
6+
This is a cleanup release. Removed everything not related to ordering stylesheets. I recommend to use combination [stylelint 7.11+](https://stylelint.io/) with `--fix` option and [stylelint-order 0.5+](https://github.com/hudochenkov/stylelint-order) plugin instead of this plugin. Using combination above you'll receive linting and autofixing using only one tool!
7+
8+
* Removed options:
9+
* `at-rule-nested-empty-line-before`
10+
* `clean-empty-lines`
11+
* `comment-empty-line-before`
12+
* `custom-property-empty-line-before`
13+
* `declaration-empty-line-before`
14+
* `dollar-variable-empty-line-before`
15+
* `rule-nested-empty-line-before`
16+
* Changes to `properties-order`:
17+
* Removed `emptyLineBefore` option.
18+
* Removed objects support in configuration. Use plain arrays instead.
19+
520
## 2.1.0
621
* Added: `order` supports new `rule` extended object, which has new `selector` option. Rules in `order` can be specified by their selector.
722
* Fixed: Inconsistency with shared line comments.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ If you want format style sheets, use [perfectionist] or [stylefmt], also a PostC
168168
[postcss-scss]: https://github.com/postcss/postcss-scss
169169
[perfectionist]: https://github.com/ben-eb/perfectionist
170170
[stylefmt]: https://github.com/morishitter/stylefmt
171-
[stylelint]: http://stylelint.io/
171+
[stylelint]: https://stylelint.io/
172172
[stylelint-order]: https://github.com/hudochenkov/stylelint-order

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-sorting",
3-
"version": "2.1.0",
3+
"version": "3.0.0",
44
"description": "PostCSS plugin to keep rules and at-rules content in order.",
55
"keywords": [
66
"postcss",
@@ -18,6 +18,7 @@
1818
"homepage": "https://github.com/hudochenkov/postcss-sorting",
1919
"files": [
2020
"lib",
21+
"!lib/**/__tests__",
2122
"index.js"
2223
],
2324
"engines": {

0 commit comments

Comments
 (0)