Skip to content

Commit

Permalink
Remove stylelint order plugin (#278)
Browse files Browse the repository at this point in the history
* Remove stylelint order plugin

* Update CHANGELOG.md
  • Loading branch information
bjankord committed Mar 14, 2023
1 parent 93314b8 commit bf4d9cd
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 122 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Removed
- Dropped official support for Node 12
- Removed node 12 from automated test matrix
- 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)
- Removed tests for deprecated stylelint rules
- Removed deprecated stylelint rules
- "block-opening-brace-space-before": "always"
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -12,7 +12,6 @@ This linter has been designed / tested with SCSS syntax based on the SCSS guidel

This config:
- bundles the [`stylelint-scss` plugin pack](https://github.com/stylelint-scss/stylelint-scss) and turns on its rules that check for possible errors
- bundles the [`stylelint-order` plugin pack](https://github.com/hudochenkov/stylelint-order) and turns on its rules that check for possible errors
- bundles the [`postcss-scss` custom syntax](https://github.com/postcss/postcss-scss) and configures it
- has a peer dependency on [`stylelint ^15.2.0`](https://github.com/stylelint/stylelint) You'll need to install this package in your project
- has a peer dependency on [`postcss ^8.4.21`](https://github.com/postcss/postcss) You'll need to install this package in your project
Expand Down
58 changes: 0 additions & 58 deletions __tests__/unit/declaration-order.spec.js

This file was deleted.

25 changes: 1 addition & 24 deletions index.js
@@ -1,5 +1,5 @@
module.exports = {
"plugins": ["stylelint-order", "stylelint-scss"],
"plugins": ["stylelint-scss"],
"customSyntax": "postcss-scss",
"rules": {
"at-rule-disallowed-list": ["debug"],
Expand Down Expand Up @@ -31,29 +31,6 @@ module.exports = {
}
],
"media-feature-name-no-vendor-prefix": true,
"order/order": [
[
"custom-properties",
"dollar-variables",
{
"type": "at-rule",
"name": "extend"
},
{
"type": "at-rule",
"name": "include",
"hasBlock": false
},
"declarations",
{
"type": "at-rule",
"name": "include",
"hasBlock": true
},
"rules"
]
],
"order/properties-alphabetical-order": true,
"property-no-unknown": true,
"property-no-vendor-prefix": true,
"rule-empty-line-before": [
Expand Down
37 changes: 0 additions & 37 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -31,7 +31,6 @@
],
"dependencies": {
"postcss-scss": "^4.0.6",
"stylelint-order": "^6.0.3",
"stylelint-scss": "^4.4.0"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion page/de.md
Expand Up @@ -55,7 +55,6 @@ Zum Beispiel kannst du mit `indentation` Tabs aktivieren und die Regel `number-l

### Erweiterungen

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

### Configured lints
Expand Down

0 comments on commit bf4d9cd

Please sign in to comment.