eslint-plugin-xstate
eslint-plugin-xstate copied to clipboard
Action creators within enqueueActions causing a lint error false positive
Describe the bug
This should not cause a lint error as per the V5 update guidance:
enqueueActions( ( { enqueue } ) => {
enqueue( assign() );
}
Versions (please complete the following information):
- Node version: 20
- ESLint version: 8
- eslint-plugin-xstate version: 3.2.1
Additional context Just need to update https://github.com/rlaffers/eslint-plugin-xstate/blob/9988c15a5c739779837687d752b477d8fa9764b8/lib/rules/no-imperative-action.js#L13