Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stylelint order plugin #278

Merged
merged 2 commits into from Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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