派生自
gitlab-cn / GitLab
源项目有可见性限制。
-
由 Kerri Miller 创作于
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.
由 Kerri Miller 创作于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.