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:
|
files:
|
||||||
include: app/assets/stylesheets/**/*.scss
|
include: site/**/*.scss
|
||||||
|
ignore:
|
||||||
|
- site/assets/scss/*bootstrap*
|
||||||
|
|
||||||
options:
|
options:
|
||||||
formatter: stylish
|
formatter: stylish
|
||||||
merge-default-rules: true
|
merge-default-rules: true
|
||||||
|
|
||||||
|
# https://github.com/sasstools/sass-lint/tree/master/docs/rules
|
||||||
rules:
|
rules:
|
||||||
class-name-format: 0
|
|
||||||
|
class-name-format:
|
||||||
|
- 1
|
||||||
|
- convention: 'hyphenatedbem'
|
||||||
|
|
||||||
|
force-pseudo-nesting: 0
|
||||||
|
|
||||||
id-name-format: 0
|
id-name-format: 0
|
||||||
|
|
||||||
leading-zero:
|
leading-zero:
|
||||||
- 1
|
- 1
|
||||||
- include: true
|
- include: true
|
||||||
no-duplicate-properties:
|
|
||||||
|
nesting-depth:
|
||||||
|
- 1
|
||||||
|
- max-depth: 4
|
||||||
|
|
||||||
|
no-css-comments: 0
|
||||||
|
|
||||||
|
no-color-literals:
|
||||||
- 1
|
- 1
|
||||||
-
|
-
|
||||||
exclude:
|
allow-rgba: true
|
||||||
- src # for @font mixins
|
|
||||||
|
no-duplicate-properties: 1
|
||||||
|
|
||||||
no-qualifying-elements:
|
no-qualifying-elements:
|
||||||
- 1
|
- 1
|
||||||
- allow-element-with-attribute: true # input[type='email'] but not div.class-name
|
- 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:
|
# https://github.com/sasstools/sass-lint/blob/develop/lib/config/property-sort-orders/concentric.yml
|
||||||
- -moz-osx-font-smoothing
|
order: concentric
|
||||||
- -webkit-font-smoothing
|
# 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