Skip to content

Instantly share code, notes, and snippets.

@rerodrigues
Last active December 21, 2018 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rerodrigues/1a3b46c7e5e07bee3d1529eb18e96570 to your computer and use it in GitHub Desktop.
Save rerodrigues/1a3b46c7e5e07bee3d1529eb18e96570 to your computer and use it in GitHub Desktop.
SASS-LINT Config Example
files:
include: '**/*.s+(a|c)ss'
options:
formatter: stylish
merge-default-rules: true
# Ruleset
rules:
class-name-format:
- 1
- convention: hyphenatedbem
id-name-format:
- 1
- convention: hyphenatedbem
# Rule overrides
no-css-comments: 0
property-sort-order: 0
force-pseudo-nesting: 0
no-color-literals: 0
nesting-depth:
- 1
- max-depth: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment