effector / effector/eslint-plugin
Rule: `no-mutation-in-pure-functions`
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 94
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Some functions in effector API should be pure:
+ reducer in `.on`-call
+ combinator (`fn`) in `sample`
+ filter in `guard`, `.filter` and `.filterMap`
+ mapper in `.map` and `.prepend`
We cannot prove the purity functions by ESLint rule, but we can forbid mutations in these cases.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.