Skip to content

Commit 5436fc9

Browse files
committed
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.
1 parent 9317e51 commit 5436fc9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/eslint-plugin/src/internal.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ const __internal = {
3535
/** @type {import('eslint').Linter.RulesRecord} */
3636
rules: {
3737
'@nx/workspace-consistent-callback-type': 'error',
38+
'@nx/workspace-base-hook-signature': 'error',
39+
'@nx/workspace-base-hook-no-forbidden-runtime': 'error',
3840
'@nx/workspace-no-restricted-globals': restrictedGlobals.react,
3941
'@nx/workspace-no-missing-jsx-pragma': ['error', { runtime: 'automatic' }],
4042
},

0 commit comments

Comments
 (0)