2017-02-13 18:08:51 -06:00
|
|
|
files:
|
2017-02-24 12:00:29 -06:00
|
|
|
include: site/**/*.scss
|
|
|
|
ignore:
|
|
|
|
- site/assets/scss/*bootstrap*
|
2017-02-13 18:08:51 -06:00
|
|
|
|
|
|
|
options:
|
|
|
|
formatter: stylish
|
|
|
|
merge-default-rules: true
|
|
|
|
|
2017-02-24 12:00:29 -06:00
|
|
|
# https://github.com/sasstools/sass-lint/tree/master/docs/rules
|
2017-02-13 18:08:51 -06:00
|
|
|
rules:
|
2017-02-24 12:00:29 -06:00
|
|
|
|
|
|
|
class-name-format:
|
|
|
|
- 1
|
|
|
|
- convention: 'hyphenatedbem'
|
|
|
|
|
|
|
|
force-pseudo-nesting: 0
|
|
|
|
|
2017-02-13 18:08:51 -06:00
|
|
|
id-name-format: 0
|
2017-02-24 12:00:29 -06:00
|
|
|
|
2017-02-13 18:08:51 -06:00
|
|
|
leading-zero:
|
|
|
|
- 1
|
|
|
|
- include: true
|
2017-02-24 12:00:29 -06:00
|
|
|
|
|
|
|
nesting-depth:
|
|
|
|
- 1
|
|
|
|
- max-depth: 4
|
|
|
|
|
|
|
|
no-css-comments: 0
|
|
|
|
|
|
|
|
no-color-literals:
|
2017-02-13 18:08:51 -06:00
|
|
|
- 1
|
|
|
|
-
|
2017-02-24 12:00:29 -06:00
|
|
|
allow-rgba: true
|
|
|
|
|
|
|
|
no-duplicate-properties: 1
|
|
|
|
|
2017-02-13 18:08:51 -06:00
|
|
|
no-qualifying-elements:
|
|
|
|
- 1
|
|
|
|
- allow-element-with-attribute: true # input[type='email'] but not div.class-name
|
2017-02-24 12:00:29 -06:00
|
|
|
|
|
|
|
no-vendor-prefixes: 1
|
|
|
|
|
|
|
|
property-sort-order:
|
|
|
|
- 1
|
2017-02-13 18:08:51 -06:00
|
|
|
-
|
2017-02-24 12:00:29 -06:00
|
|
|
# https://github.com/sasstools/sass-lint/blob/develop/lib/config/property-sort-orders/concentric.yml
|
|
|
|
order: concentric
|
|
|
|
# https://github.com/sasstools/sass-lint/blob/develop/lib/config/property-sort-orders/smacss.yml
|
|
|
|
# order: smacss
|
|
|
|
|
|
|
|
quotes: 0
|