@leemillward/stylelint-config

2.0.1 • Public • Published

@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

Package Sidebar

Install

npm i @leemillward/stylelint-config

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

22.5 kB

Total Files

4

Last publish

Collaborators

  • leemillward