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 27, 2024
1 parent 4af4584 commit fe99733
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/stylelint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ The `order` config enforces a consistent order of content in your declaration bl
4. single-line SASS `@include`,
5. declarations,
6. nested rules,
7. any other at-rules.

For better flexibility, block at-rules (like `@media`, `@supports`, and also Sass `@if`, `@each`, etc.) can be placed
anywhere in the declaration block.

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

Expand Down

0 comments on commit fe99733

Please sign in to comment.