From 2fc97e222a3ff817811ed4ceae6ed8ac06467a1f Mon Sep 17 00:00:00 2001 From: Vanita Barrett Date: Thu, 6 Aug 2020 15:04:36 +0100 Subject: [PATCH] WIP stop use of hsl and hsla --- .stylelintrc.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index 3e33322feb..4a6f2610f6 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -4,6 +4,10 @@ ignoreFiles: src/govuk/vendor/**/* plugins: - stylelint-order rules: + # Stop use of hsl() and hsla() + # Orignates from https://github.com/alphagov/govuk-frontend/blob/2f73bd6d639db10c61d3b0da6f79f08150a4e530/config/.sass-lint.yml#L153 + function-disallowed-list: ["hsl", "hsla"] + # Require all class selectors to be in a hyphenated BEM format and limit the BEM depth to 0 # https://stylelint.io/user-guide/rules/selector-class-pattern # Originates from: https://github.com/alphagov/govuk-frontend/blob/e248b4027102b2684f592a0501630075bdfa1fab/config/.sass-lint.yml#L39