stylelint-config-strict

Stylelint sharable config for strict linting


Keywords
check, checker, code, code checker, code linter, code standards, code style, csslint, enforce, hint, lint, policy, quality, simple, strict, strict style, style, style checker, style linter, stylelint, stylelintconfig, verify
License
MIT
Install
npm install stylelint-config-strict@5.0.0

Documentation

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.