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
However, this installed version ^2.0.0 of @intlify/eslint-plugin-vue-i18n, which throws an error when running eslint using the provided configuration. A fix is to instead run npm install --save-dev @intlify/eslint-plugin-vue-i18n@next to install version ^3.0.0-next.11. The documentation should be updated to install the correct version.
What did you expect to happen?
The plugin should work when following the documentation.
What actually happened?
When attempting to run eslint using the provided configuration, it fails with:
TypeError: pluginVueI18n.configs.flat/recommended is not iterable
at file:///Users/me/dev/test/eslint.config.mjs?mtime=1715082875973:10:21
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
at async loadFlatConfigFile (/Users/me/dev/test/node_modules/eslint/lib/eslint/eslint.js:317:21)
at async calculateConfigArray (/Users/me/dev/test/node_modules/eslint/lib/eslint/eslint.js:396:28)
at async ESLint.lintFiles (/Users/me/dev/test/node_modules/eslint/lib/eslint/eslint.js:815:25)
at async Object.execute (/Users/me/dev/test/node_modules/eslint/lib/cli.js:500:23)
at async main (/Users/me/dev/test/node_modules/eslint/bin/eslint.js:153:22)
The text was updated successfully, but these errors were encountered:
Tell us about your environment
Please show your full configuration:
What did you do?
I followed the "Getting started" documentation from the website, and ran:
However, this installed version
^2.0.0
of@intlify/eslint-plugin-vue-i18n
, which throws an error when running eslint using the provided configuration. A fix is to instead runnpm install --save-dev @intlify/eslint-plugin-vue-i18n@next
to install version^3.0.0-next.11
. The documentation should be updated to install the correct version.What did you expect to happen?
The plugin should work when following the documentation.
What actually happened?
When attempting to run eslint using the provided configuration, it fails with:
The text was updated successfully, but these errors were encountered: