Merge pull request #4109 from commitay/components_redundancy_cop
components_redundancy_cop: make non-strict
This commit is contained in:
commit
9089ea4df3
@ -2,7 +2,7 @@ require_relative "./extend/formula_cop"
|
|||||||
|
|
||||||
module RuboCop
|
module RuboCop
|
||||||
module Cop
|
module Cop
|
||||||
module FormulaAuditStrict
|
module FormulaAudit
|
||||||
# This cop checks if redundant components are present and other component errors
|
# This cop checks if redundant components are present and other component errors
|
||||||
#
|
#
|
||||||
# - `url|checksum|mirror` should be inside `stable` block
|
# - `url|checksum|mirror` should be inside `stable` block
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
require_relative "../../rubocops/components_redundancy_cop"
|
require_relative "../../rubocops/components_redundancy_cop"
|
||||||
|
|
||||||
describe RuboCop::Cop::FormulaAuditStrict::ComponentsRedundancy do
|
describe RuboCop::Cop::FormulaAudit::ComponentsRedundancy do
|
||||||
subject(:cop) { described_class.new }
|
subject(:cop) { described_class.new }
|
||||||
|
|
||||||
context "When auditing formula components common errors" do
|
context "When auditing formula components common errors" do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user