0.0.0 • Published 10 months ago

@myevery/stylelint v0.0.0

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

@myevery/stylelint

Install

npm install --save-dev stylelint postcss @myevery/stylelint

Usage

Add .stylelintrc file in the project root with the following content:

{
    "extends": "@myevery/stylelint"
}

Prettier

If you are using Prettier, extend root config with the additional rules:

{
    "extends": ["@myevery/stylelint", "@myevery/stylelint/prettier"]
}

Order

If you want to order properties in your css files, extend root config with the additional rules:

{
    "extends": ["@myevery/stylelint", "@myevery/stylelint/order"]
}