You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESLint: 9.8.0
A config object has a "plugins" key defined as an array of strings.
Flat config requires "plugins" to be an object in this form:
{
plugins: {
xstate: pluginObject
}
}
Please see the following page for information on how to convert your config object into the correct format:
https://eslint.org/docs/latest/use/configure/migration-guide#importing-plugins-and-custom-parsers
If you're using a shareable config that you cannot rewrite in flat config format, then use the compatibility utility:
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
Versions (please complete the following information):
Node version: v22.5.1
ESLint version: v9.8.0
eslint-plugin-xstate version: 3.2.1
The text was updated successfully, but these errors were encountered:
Surely this project is dead @rlaffers? Over a year since last commit and no v9 support. Shame, I wanted to use it, unless there is an easy way using compat utils?
Describe the bug
Eslint v9 has been out since April https://eslint.org/blog/2024/04/eslint-v9.0.0-released/.
It is not declared as supported in peerDependencies.
Expected behavior
For the plugin to work with eslint v9
Actual behavior
Gives errors in peerDependencies, and when using flatConfig, unclear about other issues
Might also be an issue with sharable config
leads to
Versions (please complete the following information):
v22.5.1
v9.8.0
3.2.1
The text was updated successfully, but these errors were encountered: