Skip to content

Instantly share code, notes, and snippets.

@jmsfwk
Created February 7, 2017 11:07
Show Gist options
  • Save jmsfwk/191860e612de11dc036e5292d283d772 to your computer and use it in GitHub Desktop.
Save jmsfwk/191860e612de11dc036e5292d283d772 to your computer and use it in GitHub Desktop.
SASS Lint
# sass-lint config generated by make-sass-lint-config v0.1.2
#
# The following scss-lint Linters are not yet supported by sass-lint:
# PrivateNamingConvention
files:
include: '**/*.s+(a|c)ss'
options:
formatter: stylish
merge-default-rules: true
rules:
bem-depth: 1
border-zero:
- 1
- convention: zero
brace-style:
- 1
- allow-single-line: false
class-name-format:
- 1
- convention: ^(?!js-).*
convention-explanation: should not be written in the form js-*
extends-before-declarations: 0
extends-before-mixins: 0
function-name-format: 1
id-name-format:
- 1
- convention: hyphenatedbem
leading-zero: 0
mixin-name-format: 1
mixins-before-declarations: 0
no-extends: 1
no-qualifying-elements: 0
placeholder-name-format:
- 1
- convention: hyphenatedbem
property-sort-order: 1
quotes:
- 1
- style: double
variable-name-format: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment