@coldboy002/stylelint-config

1.1.0 • Public • Published

@coldboy002/stylelint-config

NPM version

Shareable stylelint config for CSS/SCSS

Installation

npm install --save-dev @coldboy002/stylelint-config

or

yarn add --dev @coldboy002/stylelint-config

Note: This package requires Node.js 15.0.0 or later. It is not compatible with older versions.

Usage

Add this line to your package.json

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

Add this config to .stylelintrc.json:

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

See also: https://stylelint.io/user-guide/configure

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": "@coldboy002/stylelint-config",
  "rules": {
    "scss/dollar-variable-pattern": null
  }
}

Extensions

Rules

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

Rules are grouped and sorted by default as in the original lists:

Changelog

License

Package Sidebar

Install

npm i @coldboy002/stylelint-config

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

7.24 kB

Total Files

6

Last publish

Collaborators

  • coldboy002