-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to tell eslint-plugin-xstate to treat a block of code as an XState config ? #20
Comments
No, this is not possible, however, it is a good idea. I will explore this. |
OK, so we could have a comment like this:
This would force the linting rules over the entire file, not only the code within |
That would work in my case because the XState configuration is in a dedicated file but I could imagine people mixing XState with other code and it highlighting many issues outside of the XState config. Can we limit the /* eslint-plugin-xstate-include */ so it will operate within the current context e.g. it could be placed inside the function. Another idea can we configure the name of the "createMachine" function ? |
While I agree that having a directive for indicating a portion of code for linting would be more powerful, I don't think this is feasible. AFAIK, there is no API in ESLint which would easily allow for this. Having to go by comments first, we would be unable to use AST selectors, since comments cannot be targeted by selectors but must be parsed from the source code separately. I am not sure how useful it would be to have the capability to rename the |
I know close to nothing about ESLint but what you've explained makes sense. It must be uncommon to wrap the createMachine but if you want to build more abstract features than what XState provides it is a simple way to have a sort of "middleware" e.g. there may be other systems that will modify the configuration of the machine before it is "created". The comment directive would be great for me, I would certainly use it. At the moment it take a bit of time to create a "fake" createMachine so I would need to be stuc kin debug before going through that. |
Interesting. Can you perhaps provide a code example? |
I could but it is mixed into a large prototype that will make it hard to follow. Here is a basic idea:
|
By default, this plugin does not lint code outside of createMachine call epxressions. This commit add a comment direective eslint-plugin-xstate-include which enforces these rules over any file. fix #20
🎉 This issue has been resolved in version 2.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This feature is now available in eslint-plugin-xstate@next https://github.com/rlaffers/eslint-plugin-xstate/tree/next#comment-directives |
Confirmed working in VSCode thanks for the amazing turnaround! |
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
| 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".
I hope it is OK to ask a question here... From what i read in another issue the plugin is usnig the createMachine function to detect the configuration. I'm generating the configuration in another function - is there a way for me to tell the plugin to use another function name of to add directives so it will treat a JS object as an XState config? Thanks and sorry if this is a naive question, I'm running ESLint in VSCode for the first time to try and make use of this plugin.
The text was updated successfully, but these errors were encountered: