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

CassidyDC/stylelint-config-w3c-order

Repository files navigation

Stylelint Config - W3C Order

npm

This package formats your CSS properties by the official W3C CSS specs modules. Giving your stylesheets 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 @cassidydc/stylelint-config-w3c-order
  3. Extend this package in your stylelint config file: extends: ['@cassidydc/stylelint-config-w3c-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 on GitHub.

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