@modular-css/stylelint-config

28.0.0 • Public • Published

@modular-css/stylelint-config NPM Version NPM License NPM Downloads

Sharable stylelint config for modular-css.

By default stylelint will complain about things like @value, @composes, composes: fooga;, and other bits of custom modular-css syntax. This configures the relevant stylelint rules so that those bits of functionality are ignored so that you don't get a bunch of bogus warnings or errors for using modular-css.

Someday it might even validate things for you, but that's a trickier proposition. For now not barfing errors/warnings everywhere is a good start.

Install

> npm i @modular-css/stylelint -D

Usage

Inside your stylelint config you'll specify an extends property pointing to this package.

{
    "extends" : "@modular-css/stylelint-config",
    "rules" : {
        // ...
    }
}

Package Sidebar

Install

npm i @modular-css/stylelint-config

Homepage

m-css.com

Weekly Downloads

34

Version

28.0.0

License

MIT

Unpacked Size

3.84 kB

Total Files

4

Last publish

Collaborators

  • tivac