aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-07-08 07:44:16 +0100
committerGitHub2017-07-08 07:44:16 +0100
commitf1fa475c4fc6f82312368114bdd604d5752e743b (patch)
treee634c1ba80eb38f8ef7760c82e3a34311066427d /Library/Homebrew/dev-cmd
parentded1967c6c1a5fb576eadda718864422759bd5e3 (diff)
parent4ed34f91c26b3b3449d676fa2067222d318c4d3a (diff)
downloadbrew-f1fa475c4fc6f82312368114bdd604d5752e743b.tar.bz2
Merge pull request #2843 from GauthamGoli/audit_conflicts_rubocop
audit: Port audit_conflicts method to rubocop and add tests
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index ff6b17b45..3bbfa461a 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -519,15 +519,6 @@ class FormulaAuditor
problem "Ambiguous conflicting formula #{c.name.inspect}."
end
end
-
- versioned_conflicts_whitelist = %w[node@ bash-completion@].freeze
-
- return unless formula.conflicts.any? && formula.versioned_formula?
- return if formula.name.start_with?(*versioned_conflicts_whitelist)
- problem <<-EOS
- Versioned formulae should not use `conflicts_with`.
- Use `keg_only :versioned_formula` instead.
- EOS
end
def audit_keg_only_style