Skip to content

Commit

Permalink
Update dependency eslint-plugin-xstate to v3
Browse files Browse the repository at this point in the history
| datasource | package              | from  | to    |
| ---------- | -------------------- | ----- | ----- |
| npm        | eslint-plugin-xstate | 1.1.3 | 3.2.1 |


## [v3.2.1](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.2.1)

##### Bug Fixes

-   **event-names:** fix event name linting in sendTo and forwardTo action creators ([334b571](rlaffers/eslint-plugin-xstate@334b571)), closes [#22](rlaffers/eslint-plugin-xstate#22)


## [v3.2.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.2.0)

##### Features

-   **no-invalid-state-props:** add "output" as a valid prop on the root state ([d946e25](rlaffers/eslint-plugin-xstate@d946e25))


## [v3.1.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.1.0)

##### Features

-   **enforce-system-id:** add rule enforce-system-id ([128d239](rlaffers/eslint-plugin-xstate@128d239))
-   **enforce-system-id:** detect duplicate system IDs ([fbc914c](rlaffers/eslint-plugin-xstate@fbc914c))
-   **system-id:** add detection of missing systemId within spawn calls ([92d077d](rlaffers/eslint-plugin-xstate@92d077d))


## [v3.0.1](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.0.1)

##### Bug Fixes

-   **event-names:** fix event name linting in sendTo and forwardTo action creators ([18e7d86](rlaffers/eslint-plugin-xstate@18e7d86)), closes [#22](rlaffers/eslint-plugin-xstate#22)


## [v3.0.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.0.0)

##### Bug Fixes

-   prevent errors when the plugin is used with eslint < 8.40.0 by raising the min required version ([3af1b77](rlaffers/eslint-plugin-xstate@3af1b77))

##### Features

-   **prefer-predictable-action-arguments:** change auto-fix into a suggestion for switching this on ([dcd50f1](rlaffers/eslint-plugin-xstate@dcd50f1))

##### BREAKING CHANGES

-   The minimum required eslint version has been raised to 8.40.0


## [v2.2.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v2.2.0)

##### Bug Fixes

-   **entry-exit-action:** recognize "guard" in entry/exit actions with xstate v5 ([3136344](rlaffers/eslint-plugin-xstate@3136344))

##### Features

-   add a comment directive tu enforce this plugin ([48cd089](rlaffers/eslint-plugin-xstate@48cd089)), closes [#20](rlaffers/eslint-plugin-xstate#20)


## [v2.1.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v2.1.0)

##### Features

-   **no-invalid-conditional-action:** add a new rule for linting conditional actions ([4c7c201](rlaffers/eslint-plugin-xstate@4c7c201))
-   **no-invalid-transition-props:** add error for invalid props within "always" transitions ([69ff424](rlaffers/eslint-plugin-xstate@69ff424))


## [v2.0.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v2.0.0)

##### Features

-   add support for xstate v5 ([0637a6f](rlaffers/eslint-plugin-xstate@0637a6f))
-   **no-async-guard:** support the "guard" prop with xstate v5 ([2b0346d](rlaffers/eslint-plugin-xstate@2b0346d))
-   **no-auto-forward:** report error if autoForward is found with XState v5 ([ffa717e](rlaffers/eslint-plugin-xstate@ffa717e))
-   **no-imperative-actions:** add support for xstate v5 action creators ([409fd67](rlaffers/eslint-plugin-xstate@409fd67))
-   **no-infinite-loop:** add detection of incorrect eventless transitions in xstate v5 ([360b609](rlaffers/eslint-plugin-xstate@360b609))
-   **no-inline-implementation:** allow built-in higher level guards with xstate v5 ([bee4ad5](rlaffers/eslint-plugin-xstate@bee4ad5))
-   **no-inline-implementation:** detect inline implementation inside spawn calls with xstate v4 ([9654443](rlaffers/eslint-plugin-xstate@9654443))
-   **no-inline-implementation:** detect inline implementations inside spawn call with xstate v5 ([b95101d](rlaffers/eslint-plugin-xstate@b95101d))
-   **no-invalid-state-props:** modify the rule to accept new xstate@5 state props ([4aecdff](rlaffers/eslint-plugin-xstate@4aecdff))
-   **no-invalid-transition-props:** support new transition props from xstate v5 ([c9a2b9c](rlaffers/eslint-plugin-xstate@c9a2b9c))
-   **prefer-always:** add message about deprecated eventless empty string transitions for xstate v5 ([7678a5b](rlaffers/eslint-plugin-xstate@7678a5b))
-   **prefer-predictable-action-arguments:** add a deprecation error for this rule with xstate v5 ([15f778c](rlaffers/eslint-plugin-xstate@15f778c))
-   **spawn-usage:** throw error if spawn-usage is used with xstate > 4 ([02976f2](rlaffers/eslint-plugin-xstate@02976f2))

##### BREAKING CHANGES

-   **no-inline-implementation:** Option "serviceCreatorRegex" has been renamed to "actorCreatorRegex".
-   The default configs are no longer compatible with xstate v4. To continue working
    with xstate v4, use new shareable configs "all_v4" or "recommended_v4".
  • Loading branch information
renovate[bot] committed Sep 8, 2024
1 parent bfc8333 commit 85a0bee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unused-imports": "4.1.3",
"eslint-plugin-xstate": "1.1.3",
"eslint-plugin-xstate": "3.2.1",
"execa": "5.1.1",
"glob": "8.1.0",
"jest": "28.1.3",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 85a0bee

Please sign in to comment.