Orders your CSS properties primarily by CSS Modules for stylelint-order.
npm install stylelint-config-cssmodules-order
This package formats your CSS properties primarily by CSS Modules. Giving it a consistence order using modern and logical groupings.
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.
If you come across any issues, please report them here.