Skip to content

Commit 66ab162

Browse files
authored
feat(eslint-rules): add enforce-use-client rule (microsoft#35167)
1 parent 16408db commit 66ab162

File tree

3 files changed

+1173
-0
lines changed

3 files changed

+1173
-0
lines changed

tools/eslint-rules/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import {
44
RULE_NAME as consistentCallbackTypeName,
55
rule as consistentCallbackType,
66
} from './rules/consistent-callback-type';
7+
import { RULE_NAME as enforceUseClientName, rule as enforceUseClient } from './rules/enforce-use-client';
8+
79
/**
810
* Import your custom workspace rules at the top of this file.
911
*
@@ -33,5 +35,6 @@ module.exports = {
3335
[consistentCallbackTypeName]: consistentCallbackType,
3436
[noRestrictedGlobalsName]: noRestrictedGlobals,
3537
[noMissingJsxPragmaName]: noMissingJsxPragma,
38+
[enforceUseClientName]: enforceUseClient,
3639
},
3740
};

0 commit comments

Comments
 (0)