Skip to content
代码片段 群组 项目
未验证 提交 2631963f 编辑于 作者: Peter Leitzen's avatar Peter Leitzen
浏览文件

Generate RuboCop TODO config even without any offenses

Sometimes we enable new cop rules without any offenses and put this rule
in "grace period". This is done in the TODO config in
`.rubocop_todo/**/*.yml` because it's a temporary configuration which
should be removed short after.

However, when regenerating TODOs for cops without any offenses we
discarded to generate them.

This commit fixes this issue and generates a cop TODO config if:
* Cop was previously disabled due to too many offenses
* Cop is in grace period
* Cop excludes files
上级 f359bb83
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册