Replies: 2 comments 10 replies
-
Until the files are updated to support the new config system, you can utilize the plugin this way:
|
Beta Was this translation helpful? Give feedback.
5 replies
-
Thanks for posting this. I have read all the blogposts and docs, but I'm still unsure what we need to do in order to support the flat config in a backwards compatible way. Our plugin exports |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The eslint flat config is the new recommended approach. I hope the
@tanstack/eslint-plugin-query
could also support the new flat config.More context:
From
v8.21.0
, eslint announced a new config system.In the new system,
.eslintrc*
is no longer used.eslint.config.js
would be the default config file name.In eslint
v8
, the legacy system (.eslintrc*
) would still be supported, while in eslintv9
, only the new system would be supported.And from
v8.23.0
, eslint CLI starts to look upeslint.config.js
.So, if your eslint is
>=8.23.0
, you're 100% ready to use the new config system.You might want to check out the official blog posts,
and the official docs.
Beta Was this translation helpful? Give feedback.
All reactions