From b648b5b23c89c663434b3c30e228c3a7cd945558 Mon Sep 17 00:00:00 2001 From: Mikael Korpela Date: Mon, 30 Nov 2026 22:58:56 +0200 Subject: [PATCH] Stylelint: Ignore more vertical-only properties in the logical CSS rule border-top/bottom-color/style/width and scroll-padding-top/bottom don't depend on writing direction, like the border-top and scroll-margin-top properties already ignored. --- tools/stylelint/config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/stylelint/config.js b/tools/stylelint/config.js index 8acf8fa8142403..99824967110444 100644 --- a/tools/stylelint/config.js +++ b/tools/stylelint/config.js @@ -178,7 +178,13 @@ module.exports = { ignore: [ // Doesn't affect RTL styles 'border-bottom', + 'border-bottom-color', + 'border-bottom-style', + 'border-bottom-width', 'border-top', + 'border-top-color', + 'border-top-style', + 'border-top-width', 'width', 'min-width', 'max-width', @@ -193,6 +199,8 @@ module.exports = { 'padding-bottom', 'scroll-margin-top', 'scroll-margin-bottom', + 'scroll-padding-top', + 'scroll-padding-bottom', 'top', 'bottom', ],