P233 / stylelint-config-scss

An opinionated stylelint configurations set.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stylelint-config-scss

An opinionated stylelint configurations set.

Configuration options

Installation

npm install @p233/stylelint-config-scss --save-dev
yarn add @p233/stylelint-config-scss --dev

Usage

Select the configurations for your needs and add them to your project .stylelintrc file:

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

Changelog

Vesion 4.0.0

  1. Upgrade to fit stylelist 15
  2. Remove all order rules (order-bootstrap, order-csscomb, order-yandex, order-zen), and use stylelint-config-recess-order instead.

Version 3.1.1

  1. Disable selector-class-pattern when using css-modules
  2. Disable value-keyword-case for composes and compose-with properties when using css-modules

Because you might use kebab-case / camelCase / PascalCase for selectors in CSS Modules.

Version 3.1.0

  1. Add @p233/stylelint-config-scss/css-modules rules

Version 3.0.2

  1. Remove @p233/stylelint-config-scss/no-prefixes rules

Version 3.0.0

  1. Require stylelint 14 and above
  2. Remove @p233/stylelint-config-scss/strict rules

Credits

About

An opinionated stylelint configurations set.

License:MIT License


Languages

Language:JavaScript 86.3%Language:SCSS 12.1%Language:Shell 1.6%