Releases: rlaffers/eslint-plugin-xstate
Releases · rlaffers/eslint-plugin-xstate
v0.14.0
0.14.0 (2021-12-08)
Features
- no-invalid-state-props: add the new description prop to state nodes (423254d)
v0.13.1
0.13.1 (2021-08-16)
Bug Fixes
- invoke-usage: allow function calls as valid invoke.src values (ac27f4b), closes #7
v0.13.0
0.13.0 (2021-08-08)
Features
- no-invalid-state-props: allow preserveActionOrder prop in the root state node (b01ca68)
v0.12.2
0.12.2 (2021-08-02)
Bug Fixes
- invoke-usage: allow multiple services to be invoked (25c252d)
v0.12.1
0.12.1 (2021-07-02)
Bug Fixes
- no-invalid-state-props: allow "strict" and "data" state props (6f7da29)
v0.12.0
0.12.0 (2021-05-23)
Bug Fixes
- no-invalid-state-props: allow "invoke" prop in state nodes (c7f8884)
Features
- no-invalid-state-props: warn about "initial" prop on non-compound states (d9343e7)
- add no-invalid-state-props rule (d3cd6c2)
v0.11.0
0.11.0 (2021-05-12)
Bug Fixes
- prevent entry-exit-action matching state nodes of such names (e362d66)
- event-names: prevent event-names macthing properties of "on" state nodes (bdf7cb1)
- no-inline-implementation: detect inline implementations inside choose action creator (8f8b9d3)
Features
- no-async-guard: add no-async-guard rule (d0c9b87)
- state-names: exclude special xstate words from valid state names (921ac32)
v0.10.1
0.10.1 (2021-05-12)
Bug Fixes
- no-inline-implementation: detect inline implementations inside array of event transitions (ed83fcf)
- no-inline-implementation: detect inline implementations inside arrays of transitions (c2a409a)
- no-inline-implementation: detect inline implementations inside onDone and onError transitions (2891ee1)
- no-inline-implementation: fix activities detection in no-inline-implementation rule (e0cfe58)
v0.10.0
0.10.0 (2021-05-12)
Bug Fixes
- no-imperative-action: detect actions.pure as a valid context for calling action creators (b9ae2cd), closes #4
Features
- no-imperative-action: detect actions.* as an imperative call to action creator (962e6b8)
v0.9.0
0.9.0 (2021-05-11)
Bug Fixes
- no-ondone-outside-compound-state: fix rule description (59a014c)
Features
- no-invalid-transition-props: add no-invalid-transition-props rule (de97ea1)
- no-misplaced-on-transition: add rule no-misplaced-on-transition (59a9eb9)