From 7972d1033036185352c6f52bfecf740d6f44ab09 Mon Sep 17 00:00:00 2001 From: Scott Vandehey Date: Mon, 5 Feb 2024 15:50:45 -0800 Subject: [PATCH] Allow redundant longhand properties This PR disables `declaration-block-no-redundant-longhand-properties` which is set in `stylelint-config-standard` because when using custom properties it can make the shorthand versions unweildy. Fixes #407 --- CHANGELOG.md | 1 + index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a094f5..dfffc43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Updated `stylelint-config-suitcss` to v21 - Updated `stylelint-config-standard-scss` to v13 - Updated `stylelint` peer dependency to v16 +- Disabled `declaration-block-no-redundant-longhand-properties` (#407) # 9.0.0 - 2023-09-19 diff --git a/index.js b/index.js index 1b442ed..5ee7f3c 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ module.exports = { 'alpha-value-notation': null, // not ready for this syntax yet 'custom-media-pattern': null, 'custom-property-pattern': null, + 'declaration-block-no-redundant-longhand-properties': null, // #407 'declaration-empty-line-before': null, // false errors after SCSS comments 'keyframes-name-pattern': null, 'selector-class-pattern': null,