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

Package detail

stylelint-config-recommended-scss

stylelint-scss9mMIT14.1.0

The recommended shareable SCSS config for Stylelint

stylelint, stylelint-config, recommended, scss

readme

stylelint-config-recommended-scss

npm version Build Status contributions welcome Downloads per month

The recommended shareable SCSS config for Stylelint.

This config:

This config is extended by the stylelint-config-standard-scss shared config. That config is better suited to most users as it also turns on the stylistic rules in the stylelint-scss plugin pack.

To see the rules that this config uses, please read the config itself.

Installation

npm install --save-dev stylelint-config-recommended-scss

Usage

Set your stylelint config to:

{
  "extends": "stylelint-config-recommended-scss"
}

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to turn off the scss/at-if-no-null rule:

{
  "extends": "stylelint-config-recommended-scss",
  "rules": {
    "scss/at-if-no-null": null
  }
}

Changelog

License

changelog

14.1.0

  • Changed: replaced deprecated scss/at-import-partial-extension rule with scss/load-partial-extension rule.
  • Changed: updated to stylelint-scss@6.4.0.

14.0.0

13.1.0

  • Changed: replaced deprecated scss/at-import-no-partial-leading-underscore rule with scss/load-no-partial-leading-underscore rule.
  • Changed: updated to stylelint-scss@5.3.0.

13.0.0

12.0.0

11.0.0

10.0.0

9.0.1

  • Fixed: disabled annotation-no-unknown rule because of false positives.

9.0.0

8.0.0

  • Changed: updated to stylelint-config-recommended@9.0.0.
  • Changed: updated stylelint peer dependency to ^14.10.0.
  • Added: postcss as an optional peer dependency.
  • Fixed: annotation-no-unknown allow !default and !global.

7.0.0

6.0.0

  • Changed: updated to stylelint-config-recommended@7.0.0.
  • Changed: updated stylelint peer dependency to ^14.4.0.
  • Fixed: disabled function-no-unknown rule.
  • Fixed: no-invalid-position-at-import-rule allow @forward before @import.

5.0.2

  • Fixed: resolution of postcss-scss custom syntax when postcss@7 is in the tree.

5.0.1

  • Fixed: turn off the comment-no-empty rule when scss/comment-no-empty is enabled.

5.0.0

This release adds over a dozen new rules.

If needed, you can extend the config to turn off any of the new rules.

  • Removed: stylelint less than 14.0.0 from peer dependencies.
  • Changed: updated to stylelint-config-recommended@6.0.0.
  • Added: scss/at-extend-no-missing-placeholder rule.
  • Added: scss/at-if-no-null rule.
  • Added: scss/at-import-no-partial-leading-underscore rule.
  • Added: scss/at-import-partial-extension rule.
  • Added: scss/comment-no-empty rule.
  • Added: scss/declaration-nested-properties-no-divided-groups rule.
  • Added: scss/dollar-variable-no-missing-interpolation rule.
  • Added: scss/function-quote-no-quoted-strings-inside rule.
  • Added: scss/function-unquote-no-unquoted-strings-inside rule.
  • Added: scss/no-duplicate-mixins rule.
  • Added: scss/no-global-function-names rule.
  • Added: scss/operator-no-newline-after rule.
  • Added: scss/operator-no-newline-before rule.
  • Added: scss/operator-no-unspaced rule.

4.3.0

  • Updated stylelint-config-recommended dependency to version 5.0.0.

4.2.0

  • Added: support for stylelint 13.

4.1.0

  • Added: support for stylelint 12.

4.0.0

  • Breaking change update to peer depedencies: `stylelint`@10.1.0+ and `stylelint-scss`@3.0.0+ are required now.
  • Updated: stylelint-config-recommended dependency to version 3.0.0.
  • Added: support for stylelint 11.

3.3.0

  • Added: support for stylelint 10.
  • Updated stylelint-config-recommended dependency to version 2.2.0.

3.2.0

  • Added: support for stylelint-scss v3.

3.1.0

  • Added: support for stylelint 9.

3.0.0

  • Updated stylelint-config-recommended dependency to version 2.0.0.
  • Updated stylelint peer dependency to version 8.3.0.

2.0.0

  • Updated stylelint-scss dependency to version 2.

1.0.0

  • Initial release