• Stars
    star
    443
  • Rank 98,099 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

Style-Guide-Boilerplate

⚡️🎨 A starting point for crafting living style guides.
HTML
1,940
star
2

Categorizr

A modern device detection script
PHP
185
star
3

CSS-Components-Modifiers-And-Subcomponents-Collection

A collection of common CSS module class names
CSS
84
star
4

Media-Query-Sync

Ⓜ️ A cross-browser solution for syncing Javascript functionality with CSS media queries
JavaScript
36
star
5

viewportwidth.js

A solution for determining accurate cross-browser viewport widths.
JavaScript
35
star
6

CSS-Coding-Standards

⭐ Personal coding standards for crafting CSS
21
star
7

Hi-Res-Images

A simple solution for loading high resolution images on devices that can support them
12
star
8

eleventy-site

Simple eleventy starter site
CSS
10
star
9

express-create-react-app-custom-template

Example repo to show how to inject server rendered HTML into a create-react-app based app.
JavaScript
8
star
10

stencil-storybook-boilerplate

A stencil + storybook boilerplate repo
TypeScript
7
star
11

vite-vue-cypress-code-coverage-example

Vue
5
star
12

notion-calendar-item-colorizer

Colorizes items in your notion calendar so they are easier to see
JavaScript
5
star
13

styled-components-custom-properties-theme-provider

Custom theme provider which uses CSS custom properties in browsers that support them, and falls back to styled components theme provider implementation in browsers that don't support CSS custom properties. 💅
JavaScript
5
star
14

terra-react-app

Terra UI app bootstrapped with create-react-app
JavaScript
3
star
15

brettjankord.com

Personal Site
MDX
2
star
16

create-react-app-perf-test

Sample create react app set up for performance testing with puppeteer
JavaScript
2
star
17

create-eleventy-site

Create a static site built with Eleventy
JavaScript
2
star
18

jest-serializer-stencil

A Jest snapshot serializer for Stencil components
TypeScript
2
star
19

mern-graphql-crud-app

MongoDB Express React NodeJS + GraphQL CRUD App
JavaScript
2
star
20

Utilities.css

A collection of common utility styles
1
star
21

circular-icon-wrapper

⭕ A react SVG component for rendering SVG icons in a circle
JavaScript
1
star
22

Base.css

A set of base styles used as a foundation for modular architected CSS
CSS
1
star
23

test-react-ui-button

Demo react component that uses SCSS and CSS modules
JavaScript
1
star
24

create-terra-react-app

Lite wrapper around create-react-app intended for creating prototypes with CRA + Terra UI components
JavaScript
1
star