【问题标题】:Is there a way to make codeclimate ignore unmodified lines in PRs?有没有办法让 codeclimate 忽略 PR 中未修改的行?
【发布时间】:2021-06-30 10:07:39
【问题描述】:

我们刚刚为我们的 PR 启用了 CodeClimate,并且有大量的重构工作要做​​,但这使得我们的 PR 无法处理未触及的代码行。

即如果我修改文件中的任何位置,它将分析所述文件中的每一行。

有没有办法阻止这种行为?

【问题讨论】:

    标签: ruby-on-rails ruby code-climate


    【解决方案1】:

    Codeclimate 不能仅检测更改的代码。 这是我自己制作 linter 的原因之一: https://gitlab.com/billyan2018/lite-linter

    【讨论】:

      猜你喜欢
      • 2015-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-06
      • 1970-01-01
      • 2022-06-22
      相关资源
      最近更新 更多