Skip to content

moderncss/stylelint-config

Repository files navigation

stylelint-config-modern

NPM version Build Status

The modern CSS shareable config for Stylelint.

It builds on Stylelint's standard config and turns on additional lint rules to enforce modern CSS features and conventions.

It works alongside the textual rules and examples at moderncss.ai.

Installation

npm install stylelint-config-modern --save-dev

(or bun, pnpm etc.)

Usage

Add it to your stylelint config:

export default {
   "extends": [
    "stylelint-config-standard",
+   "stylelint-config-modern"
  ],
}

About

The modern CSS shareable config for Stylelint

Topics

Resources

License

Stars

Watchers

Forks

Contributors