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

使わないDIを消去 #10243

Closed
saschanaz opened this issue Mar 6, 2023 · 0 comments · Fixed by #11462
Closed

使わないDIを消去 #10243

saschanaz opened this issue Mar 6, 2023 · 0 comments · Fixed by #11462

Comments

@saschanaz
Copy link
Member

saschanaz commented Mar 6, 2023

バックエンドのコードに使わないDIがそこそこあるので消去したいです。TypeScriptのnoUnusedLocalsがいまfalseになっているのでtrueにしたらエラーになりますが、約180個のエラーが出るので手動消去は難しいです。

typescript-eslintを使ってautofixしたかったですがno-unused-private-class-membersはES class private member syntaxだけをサポートしていてprivate accessorはサポートしていないしそもそもautofix自体がないですのでまた難しいです。ふむ

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 a pull request may close this issue.

1 participant