Skip to content

Formats your CSS properties primarily by CSS modules using Stylelint for a consistence order across CSS/SCSS files.

License

Notifications You must be signed in to change notification settings

jacobcassidy/stylelint-config-cssmodules-order

Repository files navigation

Stylelint Config - CSS Modules Order

npm

This package formats your CSS properties primarily by CSS Modules. Giving it a consistence order using modern and logical groupings.

Usage

  1. Install Stylelint: npm i --save-dev stylelint
  2. Install this package: npm i --save-dev stylelint-config-cssmodules-order
  3. Extend this package in your stylelint config file: extends: ['stylelint-config-cssmodules-order']
  4. Optional: Install the Stylelint VSCode extension to show errors in the editor and fix errors with a hotkey.

Note

This package automatically installs stylelint-order and includes it in your Stylelint's list of plugins so you don't need to add it manually.

Issues

If you come across any issues, please report them here.

About

Formats your CSS properties primarily by CSS modules using Stylelint for a consistence order across CSS/SCSS files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published