We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ "devDependencies": { "@rushstack/eslint-patch": "^1.7.2", "@tsconfig/node18": "^18.2.2", "@types/node": "^18.19.17", "@vitejs/plugin-vue": "^4.6.2", "@vue/eslint-config-prettier": "^8.0.0", "@vue/eslint-config-typescript": "^12.0.0", "@vue/tsconfig": "^0.5.1", "eslint": "^8.56.0", "eslint-plugin-vue": "^9.21.1", "prettier": "^3.2.5", "typescript": "~5.3.3", "vite": "^5.1.3", "vue-tsc": "^1.8.27" } }
我是用pnpm 创建了vue3项目,在模板提示中 开启了eslint相关配置
上面是自动安装的eslint相关配置, 我留意到和当前项目推荐的库并不一致
是否应该同步官方所使用的库文件呢?
The text was updated successfully, but these errors were encountered:
@xcatliu 有空看看吗?
Sorry, something went wrong.
@vue/eslint-config-typescript 这个是 vue cli 默认的 eslint 配置吧。这个配置是 vue 官方维护的,也挺适用的,如果不想折腾的话,可以就用官方这个。
@vue/eslint-config-typescript
不过 eslint 本身就是非常灵活的,也可以切换为 alloy 的配置,先把 @vue/eslint-config-typescript 和 eslintrc 中的相关配置移除,然后添加 alloy 的 vue 规则就可以了
eslintrc
No branches or pull requests
我是用pnpm 创建了vue3项目,在模板提示中 开启了eslint相关配置
上面是自动安装的eslint相关配置, 我留意到和当前项目推荐的库并不一致
是否应该同步官方所使用的库文件呢?
The text was updated successfully, but these errors were encountered: