包详细信息

@tomas-light/stylelint-config-idiomatic-order

tomas-light85MIT1.0.1

stylelint + idiomatic-css = ❤️

stylelint, stylelint-config, idomatic-css, order

自述文件

@tomas-light/stylelint-config-idiomatic-order

Order your styles based on idiomatic-css.

It is a fork of original stylelint-config-idiomatic-order package with a few updates:

  • added grid rules
  • added overflow-x, overflow-y rules
  • place box-sizing and overflow after flex and grid rules

As far as author of original packages does not update its code, I'm, going try to do it as long as I use the package by myself. If there are some rules you want to include, please feel free to open an Issue and I will do my best to include them as fast as I can. Thank you for your participation ❤️

Installation

npm

npm install --save-dev @tomas-light/stylelint-config-idiomatic-order

yarn

yarn add -D @tomas-light/stylelint-config-idiomatic-order

Usage

Set your stylelint config to:

{
  "extends": "@tomas-light/stylelint-config-idiomatic-order"
}

You can easily extend the config to your needs.

License