hotfix(3.4.1): pin eslint-plugin-vue to exact version 10.6.2#823
Merged
beatrizsmerino merged 2 commits intomasterfrom Jan 17, 2026
Merged
hotfix(3.4.1): pin eslint-plugin-vue to exact version 10.6.2#823beatrizsmerino merged 2 commits intomasterfrom
eslint-plugin-vue to exact version 10.6.2#823beatrizsmerino merged 2 commits intomasterfrom
Conversation
Error: - `npm install` fails with "Unexpected top-level property default" error - ESLint cannot parse configuration from `eslint-plugin-vue` v10.7.0 Reason: - Version `^10.6.2` allows automatic updates to `10.7.0` - `eslint-plugin-vue@10.7.0` introduced TypeScript in build process generating `export default` - This is incompatible with ESLint 8 legacy config format (`.eslintrc.js`) - Upgrading to ESLint 9 is not viable because `@vue/cli-plugin-eslint` does not support it - Project uses Vue 2 with vue-cli which requires ESLint 8 Solution: - Pin exact version `10.6.2` (remove caret) to prevent automatic updates References: - PR #821 - vuejs/eslint-plugin-vue#2916
Steps: - Update version field in `package.json` Reason: - Hotfix release to pin `eslint-plugin-vue` to version `10.6.2` References: - PR #821
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hotfix(3.4.1): pin
eslint-plugin-vueto exact version10.6.2📸 Screenshots
🔄 Type of Change
📝 Summary
Hotfix to resolve
npm installfailure caused by automatic update ofeslint-plugin-vueto version10.7.0, which is incompatible with ESLint 8 legacy config format.📋 Changes Made
Dependencies
eslint-plugin-vueto exact version10.6.2(remove caret^)Version
3.4.0to3.4.1eslint-plugin-vue@10.7.0introduced TypeScript in build process (#2916)export defaultwhich causes error: "Unexpected top-level property default".eslintrc.js)@vue/cli-plugin-eslintdoes not support it🧪 Tests
npm installcompletes without errorsnpm run lintpasses successfully🔗 References
Documentation
tsdown, support mixed js & ts in codebase vuejs/eslint-plugin-vue#2916Related Issues