jazirk / stylelint-config-recess-order

๐Ÿ—‚๏ธ Recess-based property sort order for Stylelint.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recess* Property Order StyleLint

npm version npm downloads github issues

A Stylelint config that sorts CSS properties the way Recess did and Bootstrap did/does.

*With some modifications & additions for modern properties.

Usage

  1. Add stylelint and this package to your project:
    npm install --save-dev stylelint stylelint-config-recess-order
  2. Configure your stylelint configuration file to extend this package:
    module.exports = {
        extends: ['stylelint-config-recess-order'],
        rules: {
            // Add overrides and additional rules here
        },
    }

References

@mdo on CSS Property Order

About

๐Ÿ—‚๏ธ Recess-based property sort order for Stylelint.

License:ISC License


Languages

Language:JavaScript 99.2%Language:Shell 0.8%