Registry / testing / rubocop-factory-bot

rubocop-factory-bot

JSON →
library2.28.0rbrubygemsunverified

A RuboCop plugin for enforcing code style and best practices in factory_bot files.

gem install rubocop-factory_bot
INSTALL
IMPORT
SIG · RUBOCOP-FACTORY-BO
R
rubocop-factory-bot
testingrubyv2.28.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RuboCop
require 'rubocop-factory_bot'

Run RuboCop with factory_bot rules

require 'rubocop-factory_bot' # Run RuboCop with factory_bot cops enabled RuboCop::CLI.new.run(['--only', 'FactoryBot/FactoryName'])
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.28.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Amazon
1
OpenAI (training)
1
Resources
rubocop-factory-bot — gem install rubocop-factory-bot · libregistry