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

Danger: Don't check for inline disabled RuboCop rules in Markdown

上级 8d762602
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true
# Danger should not comment when inline disables are added in the following files.
no_suggestions_for_extensions = %w[.md]
helper.all_changed_files.each do |filename|
next if filename.end_with?(*no_suggestions_for_extensions)
rubocop.add_suggestions_for(filename)
end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册