[lint] Allow useEffectEvent in useLayoutEffect and useInsertionEffect (#34492)
--- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34492). * #34497 * __->__ #34492 DiffTrain build for [e02c173fa597ce914c6876f71556c39bf20f40dc](https://github.com/facebook/react/commit/e02c173fa597ce914c6876f71556c39bf20f40dc)
J
jbrown215 committed
191f8c8dc20e20a123bfb0f2c4f50375a21fbc47
Parent: 1c44392