A stylelint config for SCSS syntax to respect the stylelint-config-standard code style scheme.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
__tests__
.gitignore
README.md
index.js
no-prefixes.js
order-bootstrap.js
order-csscomb.js
order-yandex.js
order-zen.js
package.json
strict.js
yarn.lock

README.md

stylelint-config-SCSS

A stylelint config for SCSS syntax based on stylelint-config-standard, stylelint-config-recommended-scss, stylelint-scss plugin and stylelint-order plugin.

Configs

  • stylelint-config-scss

    Add SCSS syntax rules to respect the stylelint-config-standard code style scheme.

  • stylelint-config-scss/order-bootstrap

    [Optional] Keep properties in bootstrap order.

  • stylelint-config-scss/order-csscomb

    [Optional] Keep properties in csscomb order.

  • stylelint-config-scss/order-yandex

    [Optional] Keep properties in yandex order.

  • stylelint-config-scss/order-zen

    [Optional] Keep properties in zen order.

  • stylelint-config-scss/no-prefixes

    [Optional] Disallow vendor prefixes for properties, values, at-rules, etc.

  • stylelint-config-scss/strict

    [Optional] A personal opinionated configs.

Usage

Install via

npm install P233/stylelint-config-SCSS --save-dev

then add the following code to your .stylelintrc file

{
  "extends": [
    "stylelint-config-scss",
    "stylelint-config-scss/order-csscomb",
    "stylelint-config-scss/no-prefixes",
    // other optional configs
  ]
}

License

MIT License