Skip to content

Latest commit

 

History

History
253 lines (189 loc) · 23.7 KB

File metadata and controls

253 lines (189 loc) · 23.7 KB

Rules

Rules focus on standard css and aim to be valuable to the majority of users. In addition to these rules there are plugins, which are rules built by the community that support methodologies, toolsets, non-standard CSS features, or very specific use cases. Don't forget to look at the list of plugins for more ways to lint.

Every rule is standalone and turned off by default. None of the rules have default values for their options.

List of rules

Here are all the rules within stylelint, grouped by the thing they apply to.

Color

Font family

Font weight

Function

Number

String

Length

Time

Unit

Value

Value list

Custom property

Shorthand property

Property

Keyframe declaration

Declaration

Declaration block

Block

Selector

Selector list

Root rule

Rule

Media feature

Custom media

Media query

Media query list

At-rule

stylelint-disable comment

Comment

General / Sheet