Sha256: adb235396f9c333a1e675368a054c5b3a5aec007e1afd39dcf4d3a391d86c3be

Contents?: true

Size: 542 Bytes

Versions: 14

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

require 'pathname'
require 'yaml'

require 'rubocop'

require_relative 'rubocop/factory_bot/factory_bot'
require_relative 'rubocop/factory_bot/language'

require_relative 'rubocop/cop/factory_bot/mixin/configurable_explicit_only'

require_relative 'rubocop/cop/factory_bot_cops'

project_root = File.join(__dir__, '..')
RuboCop::ConfigLoader.inject_defaults!(project_root)
obsoletion = File.join(project_root, 'config', 'obsoletion.yml')
RuboCop::ConfigObsoletion.files << obsoletion if File.exist?(obsoletion)

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/lib/rubocop-factory_bot.rb
rubocop-factory_bot-2.26.1 lib/rubocop-factory_bot.rb
rubocop-factory_bot-2.26.0 lib/rubocop-factory_bot.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.25.1/lib/rubocop-factory_bot.rb
rubocop-factory_bot-2.25.1 lib/rubocop-factory_bot.rb
rubocop-factory_bot-2.25.0 lib/rubocop-factory_bot.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop-factory_bot.rb
rubocop-factory_bot-2.24.0 lib/rubocop-factory_bot.rb
mlh-rubocop-config-1.0.2 vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop-factory_bot.rb
fablicop-1.10.3 vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop-factory_bot.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop-factory_bot.rb
fablicop-1.10.2 vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop-factory_bot.rb
rubocop-factory_bot-2.23.1 lib/rubocop-factory_bot.rb
rubocop-factory_bot-2.23.0 lib/rubocop-factory_bot.rb