Skip to content

Commit bf4d9cd

Browse files
authored
Remove stylelint order plugin (#278)
* Remove stylelint order plugin * Update CHANGELOG.md
1 parent 93314b8 commit bf4d9cd

File tree

7 files changed

+2
-122
lines changed

7 files changed

+2
-122
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1414
### Removed
1515
- Dropped official support for Node 12
1616
- Removed node 12 from automated test matrix
17+
- Removed stylelint-order plugin. Resolves [#214](https://github.com/bjankord/stylelint-config-sass-guidelines/issues/214) and [#231](https://github.com/bjankord/stylelint-config-sass-guidelines/issues/231)
1718
- Removed tests for deprecated stylelint rules
1819
- Removed deprecated stylelint rules
1920
- "block-opening-brace-space-before": "always"

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ This linter has been designed / tested with SCSS syntax based on the SCSS guidel
1212

1313
This config:
1414
- bundles the [`stylelint-scss` plugin pack](https://github.com/stylelint-scss/stylelint-scss) and turns on its rules that check for possible errors
15-
- bundles the [`stylelint-order` plugin pack](https://github.com/hudochenkov/stylelint-order) and turns on its rules that check for possible errors
1615
- bundles the [`postcss-scss` custom syntax](https://github.com/postcss/postcss-scss) and configures it
1716
- has a peer dependency on [`stylelint ^15.2.0`](https://github.com/stylelint/stylelint) You'll need to install this package in your project
1817
- has a peer dependency on [`postcss ^8.4.21`](https://github.com/postcss/postcss) You'll need to install this package in your project

__tests__/unit/declaration-order.spec.js

Lines changed: 0 additions & 58 deletions
This file was deleted.

index.js

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
"plugins": ["stylelint-order", "stylelint-scss"],
2+
"plugins": ["stylelint-scss"],
33
"customSyntax": "postcss-scss",
44
"rules": {
55
"at-rule-disallowed-list": ["debug"],
@@ -31,29 +31,6 @@ module.exports = {
3131
}
3232
],
3333
"media-feature-name-no-vendor-prefix": true,
34-
"order/order": [
35-
[
36-
"custom-properties",
37-
"dollar-variables",
38-
{
39-
"type": "at-rule",
40-
"name": "extend"
41-
},
42-
{
43-
"type": "at-rule",
44-
"name": "include",
45-
"hasBlock": false
46-
},
47-
"declarations",
48-
{
49-
"type": "at-rule",
50-
"name": "include",
51-
"hasBlock": true
52-
},
53-
"rules"
54-
]
55-
],
56-
"order/properties-alphabetical-order": true,
5734
"property-no-unknown": true,
5835
"property-no-vendor-prefix": true,
5936
"rule-empty-line-before": [

package-lock.json

Lines changed: 0 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
],
3232
"dependencies": {
3333
"postcss-scss": "^4.0.6",
34-
"stylelint-order": "^6.0.3",
3534
"stylelint-scss": "^4.4.0"
3635
},
3736
"peerDependencies": {

page/de.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ Zum Beispiel kannst du mit `indentation` Tabs aktivieren und die Regel `number-l
5555

5656
### Erweiterungen
5757

58-
* [`stylelint-order`](https://github.com/hudochenkov/stylelint-order): Eine Erweiterung die Regel CSS-Eigenschaft sortiert.
5958
* [`stylelint-scss`](https://github.com/kristerkari/stylelint-scss): Eine Sammlung von SCSS-speziefischen Regeln für stylelint.
6059

6160
### Configured lints

0 commit comments

Comments
 (0)