lib/scss_lint/linter/shorthand.rb in scss_lint-0.56.0 vs lib/scss_lint/linter/shorthand.rb in scss_lint-0.57.0

- old
+ new

@@ -1,6 +1,5 @@ -# rubocop:disable Metrics/CyclomaticComplexity module SCSSLint # Checks for the use of the shortest form for properties that can be written # in shorthand. class Linter::Shorthand < Linter include LinterRegistry @@ -117,10 +116,10 @@ # @param top [String] # @param right [String] # @param bottom [String] # @param left [String] # @return [Boolean] - def condense_to_one_value?(top, right, bottom, left) + def condense_to_one_value?(top, right, bottom, left) # rubocop:disable Metrics/CyclomaticComplexity return unless allowed?(1) return unless top == right top == bottom && (bottom == left || left.nil?) || bottom.nil? && left.nil?