class RuboCop::Cop::RSpec::Base

@abstract parent class to RSpec cops

def self.inherited(subclass) # rubocop:disable Lint/MissingSuper

rubocop:disable Lint/MissingSuper
Invoke the original inherited hook so our cops are recognized
def self.inherited(subclass) # rubocop:disable Lint/MissingSuper
  RuboCop::Cop::Base.inherited(subclass)
end

def on_new_investigation

that have no other means of accessing the configuration.
Set the config for dynamic DSL configuration-aware helpers
def on_new_investigation
  super
  RuboCop::RSpec::Language.config = config['RSpec']['Language']
end