ildi-wp/dev/.sass-lint.yml

54 lines
1.0 KiB
YAML
Raw Permalink Normal View History

2018-04-24 20:41:34 -05:00
files:
include: scss/**/*.scss
ignore:
- vendor/*
options:
formatter: stylish
merge-default-rules: true
# https://github.com/sasstools/sass-lint/tree/master/docs/rules
rules:
class-name-format:
- 1
2018-08-07 15:49:34 -05:00
- convention: ^[-_a-z0-9]+$
- convention-explanation: 'Class must contain only lowercase, hyphens, and underscores'
2018-04-24 20:41:34 -05:00
force-pseudo-nesting: 0
id-name-format: 0
leading-zero:
- 1
- include: true
nesting-depth:
- 1
- max-depth: 4
no-css-comments: 0
no-color-literals:
- 1
-
allow-rgba: true
no-duplicate-properties: 1
no-qualifying-elements:
- 1
- allow-element-with-attribute: true # input[type='email'] but not div.class-name
no-vendor-prefixes: 1
property-sort-order:
- 1
-
# 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