updating PDR lint file
This commit is contained in:
parent
38100e236f
commit
b65834d962
@ -1,28 +1,52 @@
|
||||
# https://github.com/sasstools/sass-lint/tree/master/docs/rules
|
||||
files:
|
||||
include: app/assets/stylesheets/**/*.scss
|
||||
include: site/**/*.scss
|
||||
ignore:
|
||||
- site/assets/scss/*bootstrap*
|
||||
|
||||
options:
|
||||
formatter: stylish
|
||||
merge-default-rules: true
|
||||
|
||||
# https://github.com/sasstools/sass-lint/tree/master/docs/rules
|
||||
rules:
|
||||
class-name-format: 0
|
||||
|
||||
class-name-format:
|
||||
- 1
|
||||
- convention: 'hyphenatedbem'
|
||||
|
||||
force-pseudo-nesting: 0
|
||||
|
||||
id-name-format: 0
|
||||
|
||||
leading-zero:
|
||||
- 1
|
||||
- include: true
|
||||
no-duplicate-properties:
|
||||
|
||||
nesting-depth:
|
||||
- 1
|
||||
- max-depth: 4
|
||||
|
||||
no-css-comments: 0
|
||||
|
||||
no-color-literals:
|
||||
- 1
|
||||
-
|
||||
exclude:
|
||||
- src # for @font mixins
|
||||
allow-rgba: true
|
||||
|
||||
no-duplicate-properties: 1
|
||||
|
||||
no-qualifying-elements:
|
||||
- 1
|
||||
- allow-element-with-attribute: true # input[type='email'] but not div.class-name
|
||||
quotes: 0
|
||||
no-vendor-prefixes:
|
||||
|
||||
no-vendor-prefixes: 1
|
||||
|
||||
property-sort-order:
|
||||
- 1
|
||||
-
|
||||
excluded-identifiers:
|
||||
- -moz-osx-font-smoothing
|
||||
- -webkit-font-smoothing
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user