Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Roll back unintentionally activated rubocop rules (mastodon#24132)
Browse files Browse the repository at this point in the history
Co-authored-by: Eugen Rochko <[email protected]>
Co-authored-by: Nick Schonning <[email protected]>
  • Loading branch information
3 people authored Mar 16, 2023
1 parent a085901 commit edc7ca5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1,786 deletions.
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,16 @@ RSpec/NotToNot:
RSpec/Rails/HttpStatus:
EnforcedStyle: numeric

# Reason:
# https://docs.rubocop.org/rubocop/cops_style.html#styleclassandmodulechildren
Style/ClassAndModuleChildren:
Enabled: false

# Reason: Classes mostly self-document with their names
# https://docs.rubocop.org/rubocop/cops_style.html#styledocumentation
Style/Documentation:
Enabled: false

Style/HashSyntax:
EnforcedStyle: ruby19_no_mixed_keys

Expand Down
Loading

0 comments on commit edc7ca5

Please sign in to comment.