Skip to content

Instantly share code, notes, and snippets.

@Vchekryzhov
Created July 10, 2021 03:30
Show Gist options
  • Save Vchekryzhov/5e70ada3ce7fd61e1d4bcbae52a8b4ba to your computer and use it in GitHub Desktop.
Save Vchekryzhov/5e70ada3ce7fd61e1d4bcbae52a8b4ba to your computer and use it in GitHub Desktop.
###########################################################
#################### Rubocop Rails ########################
###########################################################
# You can find all configuration options for rubocop-rails here: https://docs.rubocop.org/rubocop-rails/cops_rails.html
Rails/ActiveRecordCallbacksOrder:
Enabled: true
Rails/AfterCommitOverride:
Enabled: true
Rails/DefaultScope:
Enabled: true
Rails/FindById:
Enabled: true
Rails/Inquiry:
Enabled: true
Rails/MailerName:
Enabled: true
Rails/MatchRoute:
Enabled: true
Rails/NegateInclude:
Enabled: true
Rails/OrderById:
Enabled: true
Rails/Pluck:
Enabled: true
Rails/PluckId:
Enabled: true
Rails/PluckInWhere:
Enabled: true
Rails/RenderInline:
Enabled: true
Rails/RenderPlainText:
Enabled: true
Rails/SaveBang:
Enabled: true
AllowImplicitReturn: false
Rails/ShortI18n:
Enabled: true
Rails/WhereExists:
Enabled: true
Rails/WhereNot:
Enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment