Skip to content

Commit

Permalink
docs(readme): rewrite list of rules (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Feb 27, 2024
1 parent d88b149 commit eae1d7a
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
![ESM Only](https://img.shields.io/badge/ESM-only-gray?labelColor=fe0)
![TS Only](https://img.shields.io/badge/TS-only-gray?labelColor=06f)

> Extended Shareable Config for Stylelint With Property Sorting
## Table of Contents

- [This Config](#this-config)
Expand Down Expand Up @@ -169,7 +167,8 @@ This is a list of the lints turned on in this configuration, and what they do.

- [`value-keyword-case`](https://stylelint.io/user-guide/rules/value-keyword-case):
Lowercase for keywords values.
Ignore `text-rendering`.

> Ignore: `text-rendering`.
#### Color

Expand All @@ -186,11 +185,6 @@ This is a list of the lints turned on in this configuration, and what they do.
- [`no-descending-specificity`](https://stylelint.io/user-guide/rules/no-descending-specificity):
Rule disabled.

#### Empty Lines

- [`declaration-empty-line-before`](https://stylelint.io/user-guide/rules/declaration-empty-line-before):
The rule is disabled for `stylelint-order` to work correctly.

#### Function

- [`function-url-no-scheme-relative`](https://stylelint.io/user-guide/rules/function-url-no-scheme-relative):
Expand All @@ -200,7 +194,8 @@ This is a list of the lints turned on in this configuration, and what they do.

- [`max-nesting-depth`](https://stylelint.io/user-guide/rules/max-nesting-depth):
Limit the allowed nesting depth to `3`.
Ignore: `'blockless-at-rules'`.

> Ignore: `'blockless-at-rules'`.
- [`selector-max-combinators`](https://stylelint.io/user-guide/rules/selector-max-combinators):
Limit the allowed combinators to `4`.
Expand Down Expand Up @@ -247,11 +242,13 @@ This is a list of the lints turned on in this configuration, and what they do.

- [`scss/at-function-named-arguments`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-function-named-arguments):
Require named parameters in **SCSS** function call rule.
Ignore `single-argument`.

> Ignore: `single-argument`.
- [`scss/at-mixin-named-arguments`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-mixin-named-arguments):
Require named parameters in **at-mixin** call rule.
Ignore `single-argument`.

> Ignore: `single-argument`.
- [`scss/at-root-no-redundant`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-root-no-redundant):
Disallow redundant `@at-root` rule.
Expand All @@ -278,6 +275,12 @@ This is a list of the lints turned on in this configuration, and what they do.

#### Dollar Variable

- [`scss/dollar-variable-empty-line-after`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/scss/dollar-variable-empty-line-after):
Require a newline after the `$`-variable declaration.

> Expect: `last-nested`, `before-comment`, `before-dollar-variable`.
> Ignore: `before-comment`, `inside-single-line-block`.
- [`scss/dollar-variable-colon-newline-after`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/dollar-variable-colon-newline-after):
Require a newline after the colon in `$`-variable declarations.

Expand Down

0 comments on commit eae1d7a

Please sign in to comment.