Add rubocop binstub, simplify configuration (#30407)

This commit is contained in:
Matt Jankowski 2024-06-13 10:27:17 -04:00 committed by GitHub
parent 45abddb302
commit 3a191b3797
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 210 additions and 227 deletions

17
.rubocop/rspec.yml Normal file
View file

@ -0,0 +1,17 @@
---
RSpec/ExampleLength:
CountAsOne: ['array', 'heredoc', 'method_call']
RSpec/NamedSubject:
EnforcedStyle: named_only
RSpec/NotToNot:
EnforcedStyle: to_not
RSpec/SpecFilePathFormat:
CustomTransform:
ActivityPub: activitypub
DeepL: deepl
FetchOEmbedService: fetch_oembed_service
OEmbedController: oembed_controller
OStatus: ostatus