stylelint-config-css-modules provides a shareable Stylelint configuration extending popular standards with CSS Modules support. It helps enforce consistent and maintainable CSS Modules styles, reducing common errors and improving code readability. This config includes rules tailored for CSS Modules syntax, naming conventions, and best practices. By using this package, developers can ensure their CSS Modules adhere to a standardized style guide across their projects which boosts collaboration and maintainability. It builds upon existing stylelint configurations, incorporating CSS Modules-specific rules which keeps config simple.
The npm package stylelint-config-css-modules has seen sporadic releases since its inception in September 2016. Releases were more frequent in 2019 and 2022, with a peak of 3 releases in March 2022 and June 2025. There have been no releases in the past two months. The package's release frequency is inconsistent, with long periods of inactivity followed by bursts of updates.
stylelint-config-css-modules npm package downloads show strong growth from March 2024 to August 2025, peaking at over 1.6 million in July 2025. September 2025 downloads are significantly lower, likely due to incomplete monthly data as of September 13th.