Have ideas to improve npm?Join in the discussion! »

stylelint-config-wikimedia

0.10.3 • Public • Published

stylelint-config-wikimedia

NPM version

Wikimedia CSS Coding Standards shareable config for stylelint

Configuration rules to ensure your CSS is compliant with the Wikimedia CSS Coding Standards.

Installation

$ npm install -D stylelint-config-wikimedia

Usage

Set your stylelint config file, .stylelintrc.json, to:

{
    "extends": "stylelint-config-wikimedia"
}

If you would also like to enable rules to disallow CSS which is unsupported by Grade A or Grade C browsers, you can use the following configs instead:

{
    "extends": "stylelint-config-wikimedia/grade-a"
}
{
    "extends": "stylelint-config-wikimedia/grade-c"
}

Extending the config

Simply add a "rules" object to your config file, and add your over-rides there.

Changelog

You can read the changelog for release versions.

Licence

This is available under the MIT LICENSE.

Install

npm i stylelint-config-wikimedia

DownloadsWeekly Downloads

2,883

Version

0.10.3

License

MIT

Unpacked Size

18.7 kB

Total Files

7

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar