All Projects → bjankord → Stylelint Config Sass Guidelines

bjankord / Stylelint Config Sass Guidelines

Licence: mit
⚙ A stylelint config inspired by https://sass-guidelin.es/

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Stylelint Config Sass Guidelines

Generator Dhboilerplate
Boilerplate made by David Hellmann
Stars: ✭ 54 (-84.53%)
Mutual labels:  stylelint, scss
React 2048 Game
🎮 A fancy 2048 game build with react, redux best practices.
Stars: ✭ 401 (+14.9%)
Mutual labels:  stylelint, scss
Stylelint Config Recommended Scss
The recommended shareable SCSS config for stylelint
Stars: ✭ 141 (-59.6%)
Mutual labels:  stylelint, scss
Stylelint Scss
A collection of SCSS specific linting rules for stylelint
Stars: ✭ 655 (+87.68%)
Mutual labels:  stylelint, scss
Frasco
Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
Stars: ✭ 123 (-64.76%)
Mutual labels:  stylelint, scss
Nextjs Ts
Opinionated Next JS project boilerplate with TypeScript and Redux
Stars: ✭ 134 (-61.6%)
Mutual labels:  stylelint, scss
Vscode Stylelint
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 260 (-25.5%)
Mutual labels:  stylelint, scss
Devportfolio
A lightweight, customizable single-page personal portfolio website template built with JavaScript and Sass
Stars: ✭ 3,582 (+926.36%)
Mutual labels:  scss
File System React
File System UI in Web using react
Stars: ✭ 331 (-5.16%)
Mutual labels:  scss
Letra Extension
Passively learn a new language every time you open a new tab
Stars: ✭ 323 (-7.45%)
Mutual labels:  scss
Yo
Lightweight, easy-to-use, configurable, and extensible mobile front-end development framework.
Stars: ✭ 319 (-8.6%)
Mutual labels:  scss
Papercss
PaperCSS was originally made by @rhyneav to be something different than the typical mODerN STylEs and clean pages found in every other CSS framework. It was built with LESS and deployed on a single index.html page before being open sourced. It has since evolved; The CSS source has been rewritten in SCSS and the documentation is now built with Hugo (all thanks to some wonderful contributors). In addition to the original creator, it is maintained by @Fraham and @TotomInc.
Stars: ✭ 3,539 (+914.04%)
Mutual labels:  scss
Breakpoint Slicer
Slice media queries with ease
Stars: ✭ 332 (-4.87%)
Mutual labels:  scss
Mpdf.github.io
mPDF documentation
Stars: ✭ 323 (-7.45%)
Mutual labels:  scss
Eleventastic
An Eleventy Starter Kit
Stars: ✭ 339 (-2.87%)
Mutual labels:  scss
Pidcodes.github.com
Website for pid.codes
Stars: ✭ 322 (-7.74%)
Mutual labels:  scss
Rust Ffi Omnibus
A collection of examples of using code written in Rust from other languages
Stars: ✭ 344 (-1.43%)
Mutual labels:  scss
Restool
RESTool is an open source UI tool for managing RESTful APIs. It could save you time developing your own internal tools. A live example:
Stars: ✭ 338 (-3.15%)
Mutual labels:  scss
Pug Starter
Simple pug (jade) starter [framework] enabling faster delivery of HTML & CSS projects to a private server and/or automatic deployment of GitHub pages.
Stars: ✭ 328 (-6.02%)
Mutual labels:  scss
Greybird
Desktop Suite for Xfce
Stars: ✭ 329 (-5.73%)
Mutual labels:  scss

stylelint-config-sass-guidelines

NPM version

Build Status Downloads per month

Dependency Status devDependency Status Known Vulnerabilities

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.

Translations

Installation

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

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].