PromucFlow_constructor/app/client/packages
Hetu Nandu 71963b5bf9
chore: Add named-use-effect custom eslint rule (#36725)
## Description

Adds a custom es lint rule that would add a warning when a useEffect is
used without a named function inside it


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new ESLint rule to enforce the use of named functions
within the `useEffect` hook, promoting better code readability.
- Updated recommended ESLint configuration to include the new rule with
a warning level.

- **Tests**
- Added a comprehensive test suite for the new `namedUseEffectRule`,
covering both valid and invalid usage scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-09 10:55:06 +00:00
..
ast fix: removing unused dependencies and explicitly installing used ones (#36573) 2024-09-30 12:28:46 +03:00
design-system chore: refactor inputs (#36680) 2024-10-09 16:22:44 +05:30
dsl fix: removing unused dependencies and explicitly installing used ones (#36573) 2024-09-30 12:28:46 +03:00
eslint-plugin chore: Add named-use-effect custom eslint rule (#36725) 2024-10-09 10:55:06 +00:00
icons feat: init AI chat widget (#36610) 2024-10-03 14:26:18 +03:00
rts fix: removing unused dependencies and explicitly installing used ones (#36573) 2024-09-30 12:28:46 +03:00
storybook fix: removing unused dependencies and explicitly installing used ones (#36573) 2024-09-30 12:28:46 +03:00
utils chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30