Skip to content

Commit

Permalink
Disable Style/SignalException cop
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski committed Apr 25, 2024
1 parent 85fdbd0 commit 0098a22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
Expand Up @@ -216,6 +216,11 @@ Style/RedundantBegin:
Style/RescueStandardError:
EnforcedStyle: implicit

# Reason: Prevailing style choice
# https://docs.rubocop.org/rubocop/1.63/cops_style.html#stylesignalexception
Style/SignalException:
Enabled: false

# Reason: Originally disabled for CodeClimate, and no config consensus has been found
# https://docs.rubocop.org/rubocop/cops_style.html#stylesymbolarray
Style/SymbolArray:
Expand Down
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Expand Up @@ -205,14 +205,6 @@ Style/SafeNavigation:
Exclude:
- 'app/models/concerns/account/finder_concern.rb'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: only_raise, only_fail, semantic
Style/SignalException:
Exclude:
- 'lib/devise/strategies/two_factor_ldap_authenticatable.rb'
- 'lib/devise/strategies/two_factor_pam_authenticatable.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Expand Down

0 comments on commit 0098a22

Please sign in to comment.