Skip to content

Commit

Permalink
fixup! Docs(stylelint-config): Add recommended configuration, orderin…
Browse files Browse the repository at this point in the history
…g and stylistic rules
  • Loading branch information
literat committed Aug 21, 2024
1 parent be7e292 commit 4b50b0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/stylelint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ The `order` config enforces a consistent order of content in your declaration bl

1. Sass variables,
2. CSS custom properties,
3. Sass `@extend`,
4. single-line Sass `@include`,
3. SASS `@extend`,
4. single-line SASS `@include`,
5. declarations,
6. nested rules,
7. any other at-rules.

Furthermore, properties in the declarations must be ordered by following categories:
Besides, properties in the declarations must be ordered by following categories:

1. `all` properties,
2. `content`,
Expand All @@ -101,7 +101,7 @@ the [`order` config itself](./rules/order.js).
## Stylistic Rules

Stylistic rules (like indentation etc.) [were dropped][stylelint-v16-stylistic-rules]
in Stylelint v16. If you need to enforce them, you can use
in Stylelint v16. To enforce them, you can use
[`stylelint-prettier`][stylelint-prettier]:

```json
Expand All @@ -114,7 +114,7 @@ in Stylelint v16. If you need to enforce them, you can use
}
```

Or, if you feel brave enough and don't need granular configuration of the stylistic rules,
Or, if you feel brave enough and dont need granular configuration of the stylistic rules,
you can use [Prettier].

## FAQ
Expand Down

0 comments on commit 4b50b0d

Please sign in to comment.