Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stylelint-config-strict

keithamus441MIT5.0.0

Stylelint sharable config for strict linting

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

readme

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.