stylelint-config-strict

5.0.0 • Public • Published

stylelint-config-strict

StyleLint sharable config for strict linting of CSS.

Installation

Install this config package and StyleLint:

$ npm install --save-dev stylelint stylelint-config-strict

Usage

This set of configs is meant to be extended on a per-project basis as necessary using StyleLint's shareable configs feature.

To start, simply add extends: ["strict"] to your .stylelintrc:

{
  "extends": ["strict"]
}

Add any additional plugins you want, for example:

{
  "extends": ["strict", "another-style-guideline"]
}

Feel free to define additional rules, or override them as you see fit:

{
  "extends": ["strict"],
  "rules": {
      "string-quotes": "double"
  }
}

For more details about how shareable configs work, see the StyleLint documentation.

Package Sidebar

Install

npm i stylelint-config-strict

Weekly Downloads

39

Version

5.0.0

License

MIT

Last publish

Collaborators

  • keithamus