~cytrogen/masto-fe

9e8bc56d5a50470b9b747a9dd9d27f0369c53a4f — Nick Schonning 2 years ago 8e0fd2d
Enable Rubocop Style/Semicolon with config (#23652)

2 files changed, 5 insertions(+), 7 deletions(-)

M .rubocop.yml
M .rubocop_todo.yml
M .rubocop.yml => .rubocop.yml +5 -0
@@ 192,6 192,11 @@ Style/RedundantBegin:
Style/RescueStandardError:
  EnforcedStyle: implicit

# Reason: Simplify some spec layouts
# https://docs.rubocop.org/rubocop/cops_style.html#stylesemicolon
Style/Semicolon:
  AllowAsExpressionSeparator: true

# Reason: Originally disabled for CodeClimate, and no config consensus has been found
# https://docs.rubocop.org/rubocop/cops_style.html#stylesymbolarray
Style/SymbolArray:

M .rubocop_todo.yml => .rubocop_todo.yml +0 -7
@@ 1337,13 1337,6 @@ Style/SafeNavigation:
    - 'app/models/status.rb'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
  Exclude:
    - 'spec/services/activitypub/process_status_update_service_spec.rb'
    - 'spec/validators/blacklisted_email_validator_spec.rb'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: only_raise, only_fail, semantic
Style/SignalException: