Skip to content

Commit a8bff8a

Browse files
fix(deps): pin eslint-plugin-vue to exact version 10.6.2
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 #1036 - vuejs/eslint-plugin-vue#2916
1 parent 688f697 commit a8bff8a

File tree

2 files changed

+621
-345
lines changed

2 files changed

+621
-345
lines changed

0 commit comments

Comments
 (0)