|
|
|
@ -1412,52 +1412,6 @@ Style/RedundantFetchBlock:
|
|
|
|
|
- 'config/initializers/paperclip.rb'
|
|
|
|
|
- 'config/puma.rb'
|
|
|
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
|
|
|
Style/RedundantRegexpCharacterClass:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'app/lib/link_details_extractor.rb'
|
|
|
|
|
- 'app/lib/tag_manager.rb'
|
|
|
|
|
- 'app/models/domain_allow.rb'
|
|
|
|
|
- 'app/models/domain_block.rb'
|
|
|
|
|
- 'app/services/fetch_oembed_service.rb'
|
|
|
|
|
- 'config/initializers/rack_attack.rb'
|
|
|
|
|
- 'lib/tasks/emojis.rake'
|
|
|
|
|
- 'lib/tasks/mastodon.rake'
|
|
|
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
|
|
|
Style/RedundantRegexpEscape:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'app/lib/webfinger_resource.rb'
|
|
|
|
|
- 'app/models/account.rb'
|
|
|
|
|
- 'app/models/tag.rb'
|
|
|
|
|
- 'app/services/fetch_link_card_service.rb'
|
|
|
|
|
- 'config/initializers/twitter_regex.rb'
|
|
|
|
|
- 'lib/paperclip/color_extractor.rb'
|
|
|
|
|
- 'lib/tasks/mastodon.rake'
|
|
|
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
|
|
|
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
|
|
|
|
# SupportedStyles: slashes, percent_r, mixed
|
|
|
|
|
Style/RegexpLiteral:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'app/lib/link_details_extractor.rb'
|
|
|
|
|
- 'app/lib/plain_text_formatter.rb'
|
|
|
|
|
- 'app/lib/tag_manager.rb'
|
|
|
|
|
- 'app/lib/text_formatter.rb'
|
|
|
|
|
- 'app/models/account.rb'
|
|
|
|
|
- 'app/models/domain_allow.rb'
|
|
|
|
|
- 'app/models/domain_block.rb'
|
|
|
|
|
- 'app/models/site_upload.rb'
|
|
|
|
|
- 'app/models/tag.rb'
|
|
|
|
|
- 'app/services/backup_service.rb'
|
|
|
|
|
- 'app/services/fetch_oembed_service.rb'
|
|
|
|
|
- 'app/services/search_service.rb'
|
|
|
|
|
- 'config/initializers/rack_attack.rb'
|
|
|
|
|
- 'config/initializers/twitter_regex.rb'
|
|
|
|
|
- 'config/routes.rb'
|
|
|
|
|
- 'lib/mastodon/premailer_webpack_strategy.rb'
|
|
|
|
|
- 'lib/tasks/mastodon.rake'
|
|
|
|
|
|
|
|
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
|
|
|
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
|
|
|
|
# AllowedMethods: present?, blank?, presence, try, try!
|
|
|
|
|