Skip to content
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

TypeScriptを更新 #959

Merged
merged 10 commits into from
Oct 2, 2022
Merged

TypeScriptを更新 #959

merged 10 commits into from
Oct 2, 2022

Conversation

MT224244
Copy link
Contributor

内容

TypeScriptのバージョンをv4.8.4に更新します。

それに伴い出た警告を解消するためにeslint系の依存関係も更新しています。
また、新たに出た型エラーやリンターエラーの修正も含まれます。

vue/multi-word-component-names だけまだ残っていますが、これに関しては @Hiroshiba さんの意見を伺いたいのであえて残しています。
個人的にはこのルールは設定で切ってしまってもいいかなと思っています。

関連 Issue

"@vue/test-utils": "2.0.0-rc.6",
"chai": "4.3.4",
"chai-as-promised": "7.1.1",
"electron": "19.0.6",
"electron-devtools-installer": "3.2.0",
"eslint": "6.8.0",
"eslint": "8.24.0",
"eslint-config-prettier": "8.5.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint-plugin-prettierのバージョンを更新したことで要求されるようになったので新しく追加しています。
prettier/eslint-plugin-prettier#253 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これ、eslint-plugin-prettierを更新したわけではなく、@vue/eslint-config-prettierを更新した結果、依存しているeslint-plugin-prettierのバージョンが上がった、が正しかったです。

@Hiroshiba
Copy link
Member

vue/multi-word-component-names、HTML要素は1単語だから被らないようにするという意図なんですね。
https://eslint.vuejs.org/rules/multi-word-component-names.html

なんというか、すごくどっちでも良いですね・・・。
切っちゃっていいと思うのですが、郷に入れば郷に従えということで、従ってみるのも経験になるかなと思いました。
修正ご面倒だと思うのですが、src/components/Policy.vueHelpPolicyHome.vueEditorHomeTip.vueToolTipに変更お願いできると 🙇
それで逆にエラーになったりしたら一旦もう切っちゃいましょう!

@MT224244
Copy link
Contributor Author

テスト通ってそうなのでDraft外します!

@MT224244 MT224244 marked this pull request as ready for review September 28, 2022 05:48
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@Hiroshiba
Copy link
Member

@y-chan さんか @yamachu さんにもレビューお願いできると心強いです・・・!

Copy link
Member

@y-chan y-chan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMです!
マージのタイミングは @Hiroshiba さんにお任せします...!z

Copy link
Contributor

@yamachu yamachu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

変更がコミットでわかりやすくてレビューしやすかったです、ありがとうございます!
またeslint周りの設定変更についてrefも助かりました〜

@Hiroshiba Hiroshiba merged commit 6a3c25f into VOICEVOX:main Oct 2, 2022
@MT224244 MT224244 deleted the upgrade-typescript branch October 5, 2022 13:52
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeScriptのバージョンを上げたい
4 participants