From 3cd9ebbd45dcf6a0ffe06d49f4626f5a96792a3d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 07:49:09 +0100 Subject: [PATCH] Code maintenance: lint, format and build code (#617) --- eslint-utils/build-groups.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/eslint-utils/build-groups.js b/eslint-utils/build-groups.js index 39420789..3394998a 100644 --- a/eslint-utils/build-groups.js +++ b/eslint-utils/build-groups.js @@ -13,10 +13,7 @@ const cartesianProduct = (arrays) => const modifierCombos = ({ modifiers }) => cartesianProduct(modifiers).map((combo) => combo.filter(Boolean)) -const compatibleModifierCombos = ({ - modifierIncompatibilities, - modifiers, -}) => +const compatibleModifierCombos = ({ modifierIncompatibilities, modifiers }) => modifierCombos({ modifiers }).filter((combo) => combo.every((modifier) => (modifierIncompatibilities[modifier] ?? []).every(