Files
react-native-devtools-frontend/node_modules/stylelint/docs/user-guide/rules/list.md
T
Tim van der Lippe cc71b28ac4 Update stylelint to 13.10.0
DISABLE_THIRD_PARTY_CHECK=NPM update
R=jacktfranklin@chromium.org

Bug: none
Change-Id: I41b7006f336b9465677cc7434abd70a732c58221
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2692907
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2021-02-15 14:11:00 +00:00

34 KiB

List of rules

Grouped first by the following categories and then by the thing they apply to.

Possible errors

Color

Font family

Function

String

Unit

Property

Keyframe declaration

Declaration block

Block

Selector

Media feature

At-rule

Comment

General / Sheet

Limit language features

Alpha-value

Hue

Color

Length

Font weight

  • font-weight-notation: Require numeric or named (where possible) font-weight values. Also, when named values are expected, require only valid names.

Function

Keyframes

Number

Time

Unit

Shorthand property

Value

Custom property

Property

Declaration

Declaration block

Selector

Media feature

Custom media

At-rule

Comment

General / Sheet

Stylistic issues

Color

  • color-hex-case: Specify lowercase or uppercase for hex colors (Autofixable).
  • color-hex-length: Specify short or long notation for hex colors (Autofixable).

Font family

Function

Number

String

  • string-quotes: Specify single or double quotes around strings (Autofixable).

Unit

  • unit-case: Specify lowercase or uppercase for units (Autofixable).

Value

Value list

Custom property

Property

  • property-case: Specify lowercase or uppercase for properties (Autofixable).

Declaration

Declaration block

Block

Selector

Selector list

Rule

Media feature

Media query list

At-rule

Comment

General / Sheet