Skip to content

Commit 9a58c4f

Browse files
committed
refactor(no-unnecessary-act): update docs recommended config
1 parent 31536de commit 9a58c4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/rules/no-unnecessary-act.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ export default createTestingLibraryRule<[], MessageIds>({
2020
description:
2121
'Disallow the use of `act` when wrapping Testing Library utils or empty functions',
2222
category: 'Possible Errors',
23-
recommended: false,
23+
recommendedConfig: {
24+
dom: false,
25+
angular: false,
26+
react: false, // this should be enabled on v5 of the plugin
27+
vue: false,
28+
},
2429
},
2530
messages: {
2631
noUnnecessaryActTestingLibraryUtil:

0 commit comments

Comments
 (0)