Skip to content

Commit d7ed61b

Browse files
committed
Move mandatory-useEvent to effector/react preset
1 parent 1792ac2 commit d7ed61b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ This preset is recommended for most projects.
6262
This preset is recommended for projects that use [Fork API](https://effector.dev/docs/api/effector/scope). You can read more about Fork API in [an article](https://dev.to/effector/the-best-part-of-effector-4c27).
6363

6464
- [effector/strict-effect-handlers](rules/strict-effect-handlers/strict-effect-handlers.md)
65-
- [effector/mandatory-useEvent](rules/mandatory-useEvent/mandatory-useEvent.md)
6665

6766
#### plugin:effector/react
6867

6968
This preset is recommended for projects that use [React](https://reactjs.org) with Effector.
7069

7170
- [effector/enforce-gate-naming-convention](rules/enforce-gate-naming-convention/enforce-gate-naming-convention.md)
71+
- [effector/mandatory-useEvent](rules/mandatory-useEvent/mandatory-useEvent.md)
7272

7373
#### plugin:effector/future
7474

config/react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = {
22
rules: {
33
"effector/enforce-gate-naming-convention": "error",
4+
"effector/mandatory-useEvent": "error",
45
},
56
};

config/scope.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = {
22
rules: {
33
"effector/strict-effect-handlers": "error",
4-
"effector/mandatory-useEvent": "error",
54
},
65
};

0 commit comments

Comments
 (0)