Skip to content

Commit

Permalink
Capitalize Stylelint name
Browse files Browse the repository at this point in the history
  • Loading branch information
hudochenkov committed Oct 21, 2021
1 parent b004e65 commit 5a2a9d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

[![npm version][npm-version-img]][npm] [![npm downloads last month][npm-downloads-img]][npm]

A plugin pack of order-related linting rules for [stylelint]. Every rule supports autofixing (`stylelint --fix`).
A plugin pack of order-related linting rules for [Stylelint]. Every rule supports autofixing (`stylelint --fix`).

## Installation

1. If you haven't, install [stylelint]:
1. If you haven't, install [Stylelint]:

```
npm install stylelint --save-dev
Expand All @@ -20,7 +20,7 @@ npm install stylelint-order --save-dev

## Usage

Add `stylelint-order` to your stylelint config `plugins` array, then add rules you need to the rules list. All rules from stylelint-order need to be namespaced with `order`.
Add `stylelint-order` to your Stylelint config `plugins` array, then add rules you need to the rules list. All rules from stylelint-order need to be namespaced with `order`.

```json
{
Expand Down Expand Up @@ -67,10 +67,10 @@ All these configs have `properties-order` configured with logical properties gr

## Thanks

`properties-order` and `properties-alphabetical-order` code and README were based on the `declaration-block-properties-order` rule which was a core rule prior to stylelint 8.0.0.
`properties-order` and `properties-alphabetical-order` code and README were based on the `declaration-block-properties-order` rule which was a core rule prior to Stylelint 8.0.0.

[npm-version-img]: https://img.shields.io/npm/v/stylelint-order.svg
[npm-downloads-img]: https://img.shields.io/npm/dm/stylelint-order.svg
[npm]: https://www.npmjs.com/package/stylelint-order
[stylelint]: https://stylelint.io/
[Stylelint]: https://stylelint.io/
[postcss-sorting]: https://github.com/hudochenkov/postcss-sorting
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stylelint-order",
"version": "4.1.0",
"description": "A collection of order related linting rules for stylelint.",
"description": "A collection of order related linting rules for Stylelint.",
"keywords": [
"stylelint-plugin",
"stylelint",
Expand Down
2 changes: 1 addition & 1 deletion rules/properties-order/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Array of unprefixed property names or group objects. Within an order array, you

For `threshold`, refer to the [`emptyLineMinimumPropertyThreshold` documentation](#emptylineminimumpropertythreshold-number).

If this option is not working as expected, make sure you don't have `declaration-empty-line-before` configured in a conflicting way in your stylelint config or config you're extending (e. g. [`stylelint-config-standard`](https://github.com/stylelint/stylelint-config-standard)).
If this option is not working as expected, make sure you don't have `declaration-empty-line-before` configured in a conflicting way in your Stylelint config or config you're extending (e. g. [`stylelint-config-standard`](https://github.com/stylelint/stylelint-config-standard)).


* `noEmptyLineBetween`: If `true`, properties within group should not have empty lines between them.
Expand Down

0 comments on commit 5a2a9d4

Please sign in to comment.