Skip to content
代码片段 群组 项目
派生自 gitlab-cn / GitLab
源项目有可见性限制。
  • Kerri Miller's avatar
    3c5f3811
    Move rubocop check to pre_commit hook · 3c5f3811
    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.
    3c5f3811
    历史
    Move rubocop check to pre_commit hook
    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.