https://github.com/alexlafroscia/stylelint-plugin-css-modules
A stylelint plugin for CSS Modules
https://github.com/alexlafroscia/stylelint-plugin-css-modules
css-modules stylelint stylelint-plugin
Last synced: 7 months ago
JSON representation
A stylelint plugin for CSS Modules
- Host: GitHub
- URL: https://github.com/alexlafroscia/stylelint-plugin-css-modules
- Owner: alexlafroscia
- Created: 2018-10-04T06:37:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T20:27:47.000Z (over 7 years ago)
- Last Synced: 2025-06-28T19:04:32.823Z (7 months ago)
- Topics: css-modules, stylelint, stylelint-plugin
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stylelint-plugin-css-modules
[](https://travis-ci.com/alexlafroscia/stylelint-plugin-css-modules)
> A stylelint plugin for CSS Modules
This [`stylelint`][stylelint] plugin provides rules to help you use [CSS Modules][css-modules] correctly.
## Installation
TBD
## Rules
### `validate-composition`
This rule will look at `composes` declarations in your CSS files and try to ensure that the classes you're composing are actually valid.
Right now, it can only validate composition of classes in the same file, but the behavior will be expanded to support imports from other files as well.
[stylelint]: https://stylelint.io/
[css-modules]: https://github.com/css-modules/css-modules