0.1.3 • Published 2 years ago

@duiyuan/stylelint-config v0.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

The standard shareable SCSS config for Stylelint shared by duiyuan front-end team.

This config:

  • extends the stylelint-config-prettier-scss
  • extends the stylelint-config-standard-scss

Installation

$ npm install @duiyuan/stylelint-config

Usage

Set your stylelint config to

{
  "extends": "@duiyuan/stylelint-config"
}

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/dollar-variable-pattern rule:

{
  "extends": "@duiyuan/stylelint-config",
  "rules": {
    "scss/at-extend-no-missing-placeholder": null
  }
}