Module: RuboCop::Cop::RSpecParity::DepartmentConfig

Included in:
FileHasSpec, PublicMethodHasSpec, SufficientContexts
Defined in:
lib/rubocop/cop/rspec_parity/department_config.rb

Overview

Shared module for reading department-level configuration. Provides config resolution (cop-level > department-level > default), spec file path mappings, and shared describe aliases / skip paths.

Constant Summary collapse

SHARED_CONFIG_DEFAULTS =

rubocop:disable Metrics/ModuleLength

{
  "SpecFilePathMappings" => { "app/" => ["spec/"] },
  "DescribeAliases" => {},
  "SkipMethodDescribeFor" => []
}.freeze