是否可以仅格式化预提交挂钩中修改的行
当我们提交更改时使用 Prettier,它会格式化 Husky 中文件内的所有代码预提交。有没有更好的方法来仅更改文件中已修改的代码行?
Using Prettier when we commit changes it formats all the code inside the file in Husky pre-commit. Is there any better method to change only modified lines of code in the file?.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论