Move rubocop check to pre_commit hook
Running rubocop checks on push is frustrating, as correcting any errors requires either a new commit or an --amend. By moving rubocop checks to pre_commit, we can instead prevent issues it complains about from entering the tree entirely, helping users to prevent stubbing their toe when they later attempt to push.
想要评论请 注册 或 登录