11.1.0 • Published 1 month ago

stylelint-config-sass-guidelines v11.1.0

Weekly downloads
155,122
License
MIT
Repository
github
Last release
1 month ago

stylelint-config-sass-guidelines

NPM version Build Status Known Vulnerabilities contributions welcome Downloads per month

A stylelint config inspired by 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.

This config:

Translations

Installation

$ npm i -D stylelint postcss 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:

{
  "extends": "stylelint-config-sass-guidelines",
  "rules": {
    "selector-max-compound-selectors": 4,
    "value-no-vendor-prefix": false
  }
}

Documentation

Configured lints

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

At-rule

Block

Color

Declaration block

Declaration Property

  • declaration-property-value-disallowed-list: Specify a list of disallowed property and value pairs within declarations.
    • ^border: Disallow the use of the word none for borders, use 0 instead. The intent of this rule is to enforce consistency, rather than define which is "better."

Function

General

Media Feature

Property

Rule

SCSS

Selector

Value

Changelog

Contributors

stylelint-config-sass-guidelines is maintained by Brett Jankord and contributions from the community. Without the code contributions from all these fantastic people, stylelint-config-sass-guidelines would not exist.

License

@she11sh0cked/stylelint-config@critto/styles@maiscrm/stylelint-config-frontend@defencedigital/r2d2-lint-configupd4ting-stylelint-configurationvigoworks.components@dnb-hugo/stylelint-configstylelint-config-airkroglue-js-documentation-builder@dnb-org/stylelint-config@everything-registry/sub-chunk-2842lincd-servermy-stylelintmpd-cli@dudeofawesome/stylelint-config-scss@etchteam/stylelint-config@eterna/stylelint-config-sass@ecl/stylelint-config@ec-europa/stylelint-config-ecl@elementor/stylelint-config-elementornebula-stylelint-confignex-dev-component@isaac.frontend/stylelint-config-scss@ittinc/stylelint@jokklan/eslint-configquick-react-starter@kickstartds/stylelint-config@kickoffready/lint@kittichanr/eslint-config-kittichanr@kunlunxu/norm@knowbly/stylelint-config@gbg/gbgcomponentlibrary@gorilainvest/styles@ggascoigne/stylelint-config@gracious/stylelint-config-gracious@hjtech/stylelint@huisiyu/hsy-craco@headstorm/hs-angular-ui@emhamzahazeen/stylelint-config-scss@ethikz/stylelint-config@maiscrm/stylelint-config-standard@lemoninternet/stylelint-config@lighting-beetle/stylelint-config-lighter@katieboland/eslint-config-katieboland@keloop/stylelint-config@jahidulpabelislam/codestylesqy-norm@jpcafe/eslint-config-nextreact-linter@infinitebrahmanuniverse/nolb-stylelint-c@he11/core@hub9/stylelint-config@nypost/stylelint-config@nimblehq/stylelint-config-nimble@oly_op/stylelint-config@oxyshop/core@ntks/stylelint-config@or.ds.e/scss@organi/vue-tailwind-components@pixore/stylelint-config@pazurite/stylelint-config@petchkubbb/eslint-config-petchkubbbsioweb-contao-webpackroom-booking-apprecruiter_epiq_deps@moccu/stylelint-config@mono-mrinal/scssscaffoldr-react@samuelmeuli/stylelint-configstylelint-config-baselinestylelint-suitcss-rulesstylelint-config-idiomatic-sassstylelint-config-so-prettystylelint-config-sass-mfvstylelint-config-scorumstylelint-config-rowupperstylelint-config-saritasa-basestylelint-config-terrastylelint-config-strict-modestylelint-config-vynylstylelint-config-vshiftstylelint-config-nosolosoftwarestylelint-config-manpackerstylelint-config-massstylelint-config-lightstylelint-config-nebulastylelint-config-customstylelint-config-coldfrontstylelint-config-coralloystylelint-config-zonia@radicalwebdesign/stylelint-config-scss@rainthief/react-lint-config@ranwawa/stylelint-config-scss@ramseyinhouse/stylelint-config@pschaubroeck/stylelint-config-bsc-app@rogal/front-linterstarter-projectsobiratel@readme/stylelint-config@rws-air/stylelint-config
11.1.0

1 month ago

11.0.0

4 months ago

10.0.0

1 year ago

9.0.1

2 years ago

9.0.0

2 years ago

8.0.0

3 years ago

7.1.0

4 years ago

7.0.0

4 years ago

6.2.0

4 years ago

6.1.0

5 years ago

6.0.0

5 years ago

5.4.0

5 years ago

5.3.0

5 years ago

5.2.0

6 years ago

5.1.0

6 years ago

5.0.0

6 years ago

4.2.0

6 years ago

4.1.0

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.1.0

7 years ago

3.0.1

7 years ago

3.0.0-rc.1

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

3.0.0

7 years ago

1.1.1

7 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago