From a5e14181e4a6d73cebc3794e3dcad77c6eeaaec2 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Tue, 7 May 2024 10:23:35 -0400 Subject: [PATCH] Disable color-function-notation Due to Sass incompatibilities See: https://github.com/sass/sass/issues/2831 --- app/javascript/packages/stylelint-config/CHANGELOG.md | 1 + app/javascript/packages/stylelint-config/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/app/javascript/packages/stylelint-config/CHANGELOG.md b/app/javascript/packages/stylelint-config/CHANGELOG.md index bbf4c3f0cc9..3f1e47d46f3 100644 --- a/app/javascript/packages/stylelint-config/CHANGELOG.md +++ b/app/javascript/packages/stylelint-config/CHANGELOG.md @@ -11,6 +11,7 @@ - [`rule-empty-line-before`](https://stylelint.io/user-guide/rules/rule-empty-line-before/) - [`scss/dollar-variable-empty-line-before`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-empty-line-before/README.md) - [`scss/double-slash-comment-empty-line-before`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/double-slash-comment-empty-line-before/README.md) + - [`color-function-notation`](https://stylelint.io/user-guide/rules/color-function-notation/) (due to [Sass incompatibilities](https://github.com/sass/sass/issues/2831)) ## 4.1.0 diff --git a/app/javascript/packages/stylelint-config/index.js b/app/javascript/packages/stylelint-config/index.js index 023b81cc916..16f79869db9 100644 --- a/app/javascript/packages/stylelint-config/index.js +++ b/app/javascript/packages/stylelint-config/index.js @@ -2,6 +2,7 @@ module.exports = { extends: ['stylelint-config-standard-scss', 'stylelint-prettier/recommended'], rules: { 'at-rule-empty-line-before': null, + 'color-function-notation': null, 'declaration-empty-line-before': null, 'no-descending-specificity': null, 'rule-empty-line-before': null,