Skip to content

Commit

Permalink
Merge pull request #200 from r7kamura/fb-style
Browse files Browse the repository at this point in the history
Remove `Sevencop/FactoryBotAssociationStyle` cop
  • Loading branch information
r7kamura committed May 13, 2024
2 parents 395c642 + 6799282 commit 584b811
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 295 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Note that all cops are `Enabled: false` by default.
## Cops

- [Sevencop/AutoloadOrdered](lib/rubocop/cop/sevencop/autoload_ordered.rb)
- [Sevencop/FactoryBotAssociationStyle](lib/rubocop/cop/sevencop/factory_bot_association_style.rb)
- [Sevencop/HashElementOrdered](lib/rubocop/cop/sevencop/hash_element_ordered.rb)
- [Sevencop/MapMethodChain](lib/rubocop/cop/sevencop/map_method_chain.rb)
- [Sevencop/MethodDefinitionArgumentsMultiline](lib/rubocop/cop/sevencop/method_definition_arguments_multiline.rb)
Expand Down
19 changes: 0 additions & 19 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,6 @@ Sevencop/AutoloadOrdered:
Enabled: false
Safe: false

Sevencop/FactoryBotAssociationStyle:
Description: |
Use consistent style in FactoryBot associations.
Enabled: false
Safe: false
EnforcedStyle: implicit
SupportedStyles:
- explicit
- implicit
inherit_mode:
merge:
- NonImplicitAssociationMethodNames
NonImplicitAssociationMethodNames:
- skip_create
Include:
- "**/factories.rb"
- "**/spec/factories/*.rb"
- "**/test/factories/*.rb"

Sevencop/HashElementOrdered:
Description: |
Sort Hash elements by key.
Expand Down
168 changes: 0 additions & 168 deletions lib/rubocop/cop/sevencop/factory_bot_association_style.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/sevencop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
require_relative 'sevencop/version'

require_relative 'rubocop/cop/sevencop/autoload_ordered'
require_relative 'rubocop/cop/sevencop/factory_bot_association_style'
require_relative 'rubocop/cop/sevencop/hash_element_ordered'
require_relative 'rubocop/cop/sevencop/map_method_chain'
require_relative 'rubocop/cop/sevencop/method_definition_arguments_multiline'
Expand Down
106 changes: 0 additions & 106 deletions spec/rubocop/cop/sevencop/factory_bot_association_style_spec.rb

This file was deleted.

0 comments on commit 584b811

Please sign in to comment.