Module: RuboCop::RSpec

Defined in:
lib/rubocop/rspec.rb,
lib/rubocop/rspec/util.rb,
lib/rubocop/rspec/inject.rb,
lib/rubocop/rspec/version.rb,
lib/rubocop/rspec/wording.rb,
lib/rubocop/rspec/language.rb,
lib/rubocop/rspec/spec_only.rb,
lib/rubocop/rspec/config_formatter.rb,
lib/rubocop/rspec/top_level_describe.rb,
lib/rubocop/rspec/description_extractor.rb,
lib/rubocop/rspec/language/node_pattern.rb

Overview

RuboCop RSpec project namespace

Defined Under Namespace

Modules: Inject, Language, SpecOnly, TopLevelDescribe, Util, Version Classes: ConfigFormatter, DescriptionExtractor, Wording

Constant Summary collapse

PROJECT_ROOT =
Pathname.new(__dir__).parent.parent.expand_path.freeze
CONFIG_DEFAULT =
PROJECT_ROOT.join('config', 'default.yml').freeze
CONFIG =
YAML.load(CONFIG_DEFAULT.read).freeze