Skip to content

Commit e5d876b

Browse files
BahinkorASafaeirad
authored andcommitted
feat: add new setting to eslint config
1 parent 6316b2a commit e5d876b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eslint.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export default defineConfig(
1212
vitest: true,
1313
next: false,
1414
cypress: true,
15-
react: true,
15+
react: {
16+
additionalEffectHooks: '(useMyEffect|useCustomEffect)',
17+
},
1618
storybook: true,
1719
typescript: true,
1820
tailwind: false,

0 commit comments

Comments
 (0)