From 9daf7b465de1e7219dc36c99814b55d15d4c3242 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Thu, 15 Aug 2024 08:20:04 +0900 Subject: [PATCH] Add lint rule --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index eb2d2db47e4cab..94b443853e0a81 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -315,6 +315,7 @@ module.exports = { 'BorderControl', 'DimensionControl', 'FontSizePicker', + 'ToggleGroupControl', ].map( ( componentName ) => ( { // Falsy `__next40pxDefaultSize` without a non-default `size` prop. selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"][value.expression.value!=false])):not(:has(JSXAttribute[name.name="size"][value.value!="default"]))`,