From 4b50b0d58cc63e894e50e340e44a5903420bd1e3 Mon Sep 17 00:00:00 2001 From: literat Date: Wed, 21 Aug 2024 12:09:58 +0200 Subject: [PATCH] fixup! Docs(stylelint-config): Add recommended configuration, ordering and stylistic rules --- packages/stylelint-config/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/stylelint-config/README.md b/packages/stylelint-config/README.md index 28d74d7..457f5fb 100644 --- a/packages/stylelint-config/README.md +++ b/packages/stylelint-config/README.md @@ -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`, @@ -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 @@ -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 don’t need granular configuration of the stylistic rules, you can use [Prettier]. ## FAQ