2.0.1 • Published 2 years ago

@leemillward/stylelint-config v2.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

@leemillward/stylelint-config

NPM version Known Vulnerabilities Build Status Dependency Status devDependency Status

A stylelint config based on sass-guidelin.es.

This linter has been designed / tested with SCSS syntax based on the SCSS guidelines documented in https://sass-guidelin.es/. It is intended for use with SCSS syntax, not Sass (tab style) syntax.

Installation

$ npm install --save @leemillward/stylelint-config

Usage

Set your stylelint config to:

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

Extending the config

Simply add a "rules" key to your config and add your overrides there.

For example, to change the indentation to tabs and turn off the number-leading-zero rule:

{
  "extends": "@leemillward/stylelint-config",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Documentation

Plugins

  • stylelint-order: A plugin pack of order related linting rules for stylelint.
  • stylelint-scss: A collection of SCSS specific linting rules for stylelint

Value

Changelog

License

2.0.1

2 years ago

2.0.0

3 years ago

1.1.0

4 years ago