-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
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
ESLint couldn't find the config "@vue/prettier/@typescript-eslint" after upgrading from 6.0.0 to 7.0.0 #7
Comments
Same issue on our projects.
to:
|
I've changed it to "@vue/eslint-config-prettier" in my project and it appears to work |
To get version 7.0.0 working, I had to do the following:
See also: jojomatik/blockcluster@134e9a5...7cc0f60 Working example: jojomatik/blockcluster@3009786 I had to collect this information based on trial and error, browsing through the commits etc. I'm therefore not fully confident that it's entirely correct and don't know for sure that it contains the same rules as before. But I didn't notice any immediate problems. It might be useful to add this to the changelog, release note and maybe the README file. Is |
Ok, so, based on this, and being lazy, the only thing I did was replace:
with
And everything seems to work just fine. |
I have an odd issue. If I keep this package as Anyone have any idea what could be going on here? I'm confused. Why would this package affect typescript. The package.json{
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-brands-svg-icons": "^6.1.1",
"@fortawesome/free-regular-svg-icons": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/vue-fontawesome": "^3.0.0-5",
"@vueuse/core": "^8.7.3",
"body-scroll-lock": "^4.0.0-beta.0",
"core-js": "^3.23.1",
"file-saver": "^2.0.5",
"lodash": "^4.17.21",
"micromark": "^3.0.10",
"normalize.css": "^8.0.1",
"tippy.js": "^6.3.7",
"ua-parser-js": "^1.0.2",
"vue": "^3.2.37",
"vue-inline-svg": "^3.1.0",
"vue-router": "^4.0.16",
"vue-tippy": "^6.0.0-alpha.52",
"vuex": "^4.0.2",
"wicg-inert": "^3.1.2"
},
"devDependencies": {
"@types/body-scroll-lock": "^3.1.0",
"@types/jest": "^28.1.2",
"@types/jest-axe": "^3.5.4",
"@types/lodash": "^4.14.182",
"@types/node-fetch": "^2.6.2",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@vue/cli-plugin-babel": "~5.0.6",
"@vue/cli-plugin-e2e-cypress": "^5.0.6",
"@vue/cli-plugin-eslint": "~5.0.6",
"@vue/cli-plugin-router": "~5.0.6",
"@vue/cli-plugin-typescript": "~5.0.6",
"@vue/cli-plugin-unit-jest": "~5.0.6",
"@vue/cli-plugin-vuex": "~5.0.6",
"@vue/cli-service": "~5.0.6",
"@vue/compiler-sfc": "^3.2.37",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/test-utils": "^2.0.0",
"@vue/vue3-jest": "27",
"cypress": "^10.1.0",
"eslint": "^8.18.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^9.1.1",
"eslint-plugin-vuejs-accessibility": "^1.2.0",
"jest-axe": "^6.0.0",
"msw": "^0.42.1",
"node-fetch": "^2.6.0",
"prettier": "^2.7.1",
"prettier-plugin-jsdoc": "^0.3.38",
"sass": "^1.52.3",
"sass-loader": "^13.0.0",
"ts-jest": "^27.0.0",
"typescript": "^4.7.4"
},
"msw": {
"workerDirectory": "public"
}
} |
This works perfectly fine for me. Thx a lot 👍 |
* ⬆️ typescript を更新 * 🚨 typescript のバージョンを上げたことで出た型エラーを修正 * ⬆️ @typescript-eslint/parser を更新 * ⬆️ eslint周りの依存関係を更新 * ⬆️ typescript を更新 * ➕ eslint-config-prettier を追加 * 🔧 .eslintrc.js を修正 vuejs/eslint-config-prettier#7 * 🚨 リンターエラーを vue/multi-word-component-names 以外修正 * 🚨 vue/multi-word-component-names エラーを修正
I recently upgraded @vue/eslint-config-prettier from 6.0.0 to 7.0.0.
Now eslint complains:
Can't get my head around this.
Changelog says "simplified the usage". What does this mean? How should I updated my .eslintrc.js?
The text was updated successfully, but these errors were encountered: