mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-25 12:34:58 +01:00
Remove extraneous Lint/UselessAccessModifier
config (#29749)
This commit is contained in:
parent
5e6a600b64
commit
c3e3c60069
@ -41,12 +41,6 @@ Layout/FirstHashElementIndentation:
|
|||||||
Layout/LineLength:
|
Layout/LineLength:
|
||||||
Max: 320 # Default of 120 causes a duplicate entry in generated todo file
|
Max: 320 # Default of 120 causes a duplicate entry in generated todo file
|
||||||
|
|
||||||
# Reason:
|
|
||||||
# https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessaccessmodifier
|
|
||||||
Lint/UselessAccessModifier:
|
|
||||||
ContextCreatingMethods:
|
|
||||||
- class_methods
|
|
||||||
|
|
||||||
## Disable most Metrics/*Length cops
|
## Disable most Metrics/*Length cops
|
||||||
# Reason: those are often triggered and force significant refactors when this happend
|
# Reason: those are often triggered and force significant refactors when this happend
|
||||||
# but the team feel they are not really improving the code quality.
|
# but the team feel they are not really improving the code quality.
|
||||||
|
Loading…
Reference in New Issue
Block a user