rubocop.yml: enable non-default checks.

Closes https://github.com/Homebrew/brew/pull/7258
This commit is contained in:
Mike McQuaid 2020-04-03 14:54:50 +01:00
parent 72f7ef3d02
commit 845c71270e
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -50,6 +50,12 @@ Lint/AmbiguousRegexpLiteral:
Lint/ParenthesesAsGroupedExpression:
Enabled: false
# not enabled by default but nice to have
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
# most metrics don't make sense to apply for formulae/taps
Metrics/AbcSize:
Enabled: false