0.9.1 • Published 1 year ago

@kochurko/stylelint-config v0.9.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@kochurko/stylelint-config

npm npm

A stylelint configuration for Prettier and order.

Install

npm i --save-dev stylelint postcss @kochurko/stylelint-config

Usage

Add the following to your .stylelintrc:

{
    "extends": "@kochurko/stylelint-config"
}

Order

The order of the rules is as follows:

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

Prettier

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

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