@approvers/stylelint-config-scss

2.0.0 • Public • Published

@approvers/stylelint-config-scss

npm test last commit license

The shareable SCSS config for stylelint.

Extends stylelint-config-standard, enables stylelint-scss.

Use it as is or as a foundation for your own config.

About the rules which is used this config, please see the config itself.

Installation

# stylelint and stylelint-scss are peer dependencies for this package.
npm install --save-dev stylelint stylelint-scss @approvers/stylelint-config-scss

Usage

All you need to do is to set your stylelint config to:

{
  "extends": ["@approvers/stylelint-config-scss"]
}

Extending the config

If you want to override and add rules to your config, simply add the "rules" key there.

For example, turn at-rule-conditional-no-parentheses rule off and turn dollar-variable-default rule on:

{
  "extends": ["@approvers/stylelint-config-scss"],
  "rules": {
    "at-rule-conditional-no-parentheses": null,
    "dollar-variable-default": true
  }
}

Changelog

License

MIT License.

Package Sidebar

Install

npm i @approvers/stylelint-config-scss

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

6.68 kB

Total Files

4

Last publish

Collaborators

  • shun-shobon