README.md in rubocop-factory_bot-2.22.0 vs README.md in rubocop-factory_bot-2.23.0

- old
+ new

@@ -2,11 +2,11 @@ [![Join the chat at https://gitter.im/rubocop-rspec/Lobby](https://badges.gitter.im/rubocop-rspec/Lobby.svg)](https://gitter.im/rubocop-rspec/Lobby) [![Gem Version](https://badge.fury.io/rb/rubocop-factory_bot.svg)](https://rubygems.org/gems/rubocop-factory_bot) ![CI](https://github.com/rubocop/rubocop-factory_bot/workflows/CI/badge.svg) -[Factory Bot](https://www.rubydoc.info/gems/factory_bot)-specific analysis for your projects, as an extension to +[factory_bot](https://github.com/thoughtbot/factory_bot/blob/main/GETTING_STARTED.md)-specific analysis for your projects, as an extension to [RuboCop](https://github.com/rubocop/rubocop). ## Installation Just install the `rubocop-factory_bot` gem @@ -15,17 +15,17 @@ gem install rubocop-factory_bot ``` or if you use bundler put this in your `Gemfile` -``` +```ruby gem 'rubocop-factory_bot', require: false ``` ## Usage -You need to tell RuboCop to load the Factory Bot extension. There are three +You need to tell RuboCop to load the factory_bot extension. There are three ways to do this: ### RuboCop configuration file Put this into your `.rubocop.yml`. @@ -67,10 +67,10 @@ All cops are located under [`lib/rubocop/cop/factory_bot`](lib/rubocop/cop/factory_bot), and contain examples/documentation. -In your `.rubocop.yml`, you may treat the Factory Bot cops just like any other +In your `.rubocop.yml`, you may treat the factory_bot cops just like any other cop. For example: ```yaml FactoryBot/AttributeDefinedStatically: Exclude: