Fixed stylelint errors

This commit is contained in:
squidfunk 2019-02-12 19:41:13 +01:00
parent 946f4f1509
commit 163438a425
3 changed files with 4 additions and 2 deletions

View File

@ -185,7 +185,7 @@
"selector-class-pattern": "^[a-z0-9]+(-[a-z0-9]+)*(__[a-z]+)?(--[a-z]+)?$", "selector-class-pattern": "^[a-z0-9]+(-[a-z0-9]+)*(__[a-z]+)?(--[a-z]+)?$",
"selector-descendant-combinator-no-non-space": null, "selector-descendant-combinator-no-non-space": null,
"string-quotes": "double", "string-quotes": "double",
"unit-whitelist": ["rem", "em", "deg", "s", "%", "mm", "vh"], "unit-whitelist": ["px", "em", "deg", "s", "%", "mm", "vh"],
"value-keyword-case": "lower", "value-keyword-case": "lower",
"value-no-vendor-prefix": true "value-no-vendor-prefix": true
} }

View File

@ -20,6 +20,8 @@
/// DEALINGS /// DEALINGS
//// ////
// stylelint-disable unit-whitelist
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Helpers // Helpers
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -66,7 +66,7 @@ body {
height: 100%; height: 100%;
// Hack: reset font-size to 10px, so the spacing for all inline elements is // Hack: reset font-size to 10px, so the spacing for all inline elements is
// correct again. Otherwise the spacing would be based on 20px. // correct again. Otherwise the spacing would be based on 20px.
font-size: 0.5rem; font-size: 0.5rem; // stylelint-disable-line unit-whitelist
// [tablet portrait -]: Lock body to disable scroll bubbling // [tablet portrait -]: Lock body to disable scroll bubbling
@include break-to-device(tablet portrait) { @include break-to-device(tablet portrait) {