From d13e7f07f8c8cd805c2a96c04ad89ef4ec42bf82 Mon Sep 17 00:00:00 2001 From: Sophie Schneider Date: Fri, 27 Jan 2023 16:44:26 +0000 Subject: [PATCH] remove legacy rules from index page --- .../pages/tools/stylelint-polaris/rules/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx b/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx index 4b34716adae..b1f804ca712 100644 --- a/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx +++ b/polaris.shopify.com/pages/tools/stylelint-polaris/rules/index.tsx @@ -88,6 +88,10 @@ function ruleListMarkdown(): string { } }); + // Temporary removal of layout rules until it is re-enabled + // https://github.com/Shopify/polaris/issues/8188 + delete content['Layout']; + const ruleList: string[] = Object.keys(content).reduce( (prev: string[], key: string) => [...prev, ...content[key]], [],