stylelint-config-sass-guidelines
Sharable stylelint config based on https://sass-guidelin.es/
Last updated 3 months ago by bjankord .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install stylelint-config-sass-guidelines 
SYNC missed versions from official npm registry.

stylelint-config-sass-guidelines

Greenkeeper badge NPM version Build Status Dependency Status devDependency Status Downloads per month

Sass Guidelines shareable config for stylelint.

A stylelint config based on sass-guidelin.es

Installation

$ npm install --save stylelint-config-sass-guidelines

Usage

Set your stylelint config to:

{
  "extends": "stylelint-config-sass-guidelines"
}

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": "stylelint-config-sass-guidelines",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Lint Rule Comparison

Lint Report Comparison

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

Configured lints

This is a list of the lints turned on in this configuration, and what they do.

At-rule

Block

Color

Declaration

Declaration block

Declaration Property

  • declaration-property-value-blacklist: Specify a blacklist of disallowed property and value pairs within declarations.
    • ^border: Disallow the use of the word none for borders, use 0 instead.

Function

General

Media Feature

Number

Property

Rule

  • rule-nested-empty-line-before: There must always be an empty line before multi-line rules. Except: Nested rules that are the first of their parent rule. Ignore: Rules that come after a comment.
  • rule-non-nested-empty-line-before: There must always be an empty line before multi-line rules. Ignore: Rules that come after a comment.

SCSS

Selector

String

  • string-quotes: Strings must always be wrapped with single quotes.

Stylelint Disable Comment

Value

Changelog

License

Current Tags

  • 6.0.0                                ...           latest (3 months ago)

21 Versions

  • 6.0.0                                ...           3 months ago
  • 5.4.0                                ...           3 months ago
  • 5.3.0                                ...           7 months ago
  • 5.2.0                                ...           a year ago
  • 5.1.0                                ...           a year ago
  • 5.0.0                                ...           a year ago
  • 4.2.0                                ...           a year ago
  • 4.1.0                                ...           2 years ago
  • 4.0.1                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0-rc.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 104
This Month 521
Last Day 86
Last Week 223
Last Month 1,640
Dependencies (2)
Dev Dependencies (8)
Dependents (74)

Copyright 2014 - 2017 © taobao.org |