efcl / efcl.github.io

Web Scratchブログのリポジトリ
https://efcl.info/
Other
103 stars 72 forks source link

semgrepを使ったマイグレーション #191

Closed azu closed 3 years ago

azu commented 3 years ago

Migrate models to class-based for improving TypeScript compatibility. · Issue #169 · honkit/honkit

Semgrepを使ってLintとかマイグレーションをする方法について。 jscodeshiftが頑張ったマイグレーションを書かなくても、ちょっと良い感じの置換でマイグレーションできた話し