1.0.93 • Published 11 months ago

@oneness-ui/stylelint-config v1.0.93

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@oneness-ui/stylelint-config

Install

npm i --save-dev stylelint postcss @oneness-ui/stylelint-config

Usage

Add the following to your .stylelintrc:

{
    "extends": "@oneness-ui/stylelint-config"
}

Order

The order of the rules is as follows:

{
    "extends": ["@oneness-ui/stylelint-config", "@oneness-ui/stylelint-config/order"]
}

Prettier

If you're utilizing Prettier, augment the root configuration with supplementary rules.

{
    "extends": ["@oneness-ui/stylelint-config", "@oneness-ui/stylelint-config/prettier"]
}