Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/ext/variable_force.rb')
-rw-r--r--rubocop/ext/variable_force.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/rubocop/ext/variable_force.rb b/rubocop/ext/variable_force.rb
deleted file mode 100644
index def284513ed..00000000000
--- a/rubocop/ext/variable_force.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-module RuboCop
- module Ext
- module VariableForce
- def scanned_node?(node)
- scanned_nodes.include?(node)
- end
-
- def scanned_nodes
- @scanned_nodes ||= Set.new.compare_by_identity
- end
- end
- end
-end
-
-RuboCop::Cop::VariableForce.prepend RuboCop::Ext::VariableForce