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

Electronのmain processで直接動作するコード以外からelectronに関する型を排除する #1278

Merged
merged 8 commits into from
Apr 5, 2023

Conversation

yamachu
Copy link
Contributor

@yamachu yamachu commented Apr 4, 2023

内容

Electron非依存でEditorUIを動作させるのに、型的にも非依存であることが示されていると進めやすいため、型の調整を行いました。
また今後electronのモジュールをimportしてしまわぬようにlintでも弾くようにしています。

関連 Issue

ref: #1204

スクリーンショット・動画など

その他

@yamachu yamachu requested a review from a team as a code owner April 4, 2023 14:24
@yamachu yamachu requested review from Hiroshiba and removed request for a team April 4, 2023 14:24
.eslintrc.js Outdated
@@ -52,6 +52,18 @@ module.exports = {
},
],
"import/order": "error",
"no-restricted-imports": [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

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です!!

shouldとwantの間くらいの提案なので、いまいちだったら言って頂ければ・・・!

.eslintrc.js Outdated Show resolved Hide resolved
.eslintrc.js Outdated Show resolved Hide resolved
yamachu and others added 2 commits April 5, 2023 10:17
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
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 Hiroshiba merged commit 876d519 into VOICEVOX:main Apr 5, 2023
@yamachu yamachu deleted the omit-electron-deps-type branch June 21, 2023 13:06
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.

2 participants