From c593a62b50d5a78a0fe1406de6bb34330c4ee330 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 4 Aug 2020 15:44:06 -0700 Subject: [PATCH] styles: Enable stylelint function-url-quotes rule. Signed-off-by: Anders Kaseorg --- static/styles/portico/portico.scss | 4 ++-- static/styles/settings.scss | 2 +- stylelint.config.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/styles/portico/portico.scss b/static/styles/portico/portico.scss index 03be8844f9..34ab7bc075 100644 --- a/static/styles/portico/portico.scss +++ b/static/styles/portico/portico.scss @@ -446,7 +446,7 @@ img.screenshot { .laptop-image { width: 787px; height: 414px; - background-image: url("/static/images/landing-page/laptop.png"); + background-image: url(/static/images/landing-page/laptop.png); background-size: contain; } @@ -691,7 +691,7 @@ input.text-error { .main-headline { background-color: hsl(218, 84%, 85%); - background: url("/static/images/landing-page/gg.jpg"); + background: url(/static/images/landing-page/gg.jpg); background-position: center; background-size: cover; } diff --git a/static/styles/settings.scss b/static/styles/settings.scss index 06e95e146b..76b98555b5 100644 --- a/static/styles/settings.scss +++ b/static/styles/settings.scss @@ -1662,7 +1662,7 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker { @supports (-moz-appearance: none) { #settings_page select { -moz-appearance: none; - background: hsl(0, 0%, 100%) url("../images/dropdown.png") right / 20px + background: hsl(0, 0%, 100%) url(../images/dropdown.png) right / 20px no-repeat; padding-right: 20px; } diff --git a/stylelint.config.js b/stylelint.config.js index 6d85f1417c..87ad25659a 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -21,6 +21,7 @@ module.exports = { // Additional stylistic rules "font-family-name-quotes": "always-where-recommended", + "function-url-quotes": "never", // Limit language features "color-no-hex": true,