From 5436fc968d61ab49f3a16eb78f450e9396ad0b69 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Tue, 26 May 2026 15:57:19 +0200 Subject: [PATCH] feat(eslint-plugin): wire base-hook-signature and base-hook-no-forbidden-runtime Enables @nx/workspace-base-hook-signature and @nx/workspace-base-hook-no-forbidden-runtime in the internal @fluentui/eslint-plugin config. Depends on:- PR adding the base-hook-signature rule- PR adding the base-hook-no-forbidden-runtime ruleMust merge AFTER both rule-introducing PRs land on master. Lint gate also requires the separate useTagGroup.ts suppression PR. --- packages/eslint-plugin/src/internal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/eslint-plugin/src/internal.js b/packages/eslint-plugin/src/internal.js index 02c31f5aa97d30..323c79840c04d8 100644 --- a/packages/eslint-plugin/src/internal.js +++ b/packages/eslint-plugin/src/internal.js @@ -35,6 +35,8 @@ const __internal = { /** @type {import('eslint').Linter.RulesRecord} */ rules: { '@nx/workspace-consistent-callback-type': 'error', + '@nx/workspace-base-hook-signature': 'error', + '@nx/workspace-base-hook-no-forbidden-runtime': 'error', '@nx/workspace-no-restricted-globals': restrictedGlobals.react, '@nx/workspace-no-missing-jsx-pragma': ['error', { runtime: 'automatic' }], },