Skip to content

Instantly share code, notes, and snippets.

@palkan
Created March 18, 2020 20:29
Show Gist options
  • Save palkan/ee1d0247be2076e38020a9a6fbae68d5 to your computer and use it in GitHub Desktop.
Save palkan/ee1d0247be2076e38020a9a6fbae68d5 to your computer and use it in GitHub Desktop.
rubocop-strict config
# Inherit from TODO here to make sure we enforce the rules below
# (and TODO is ignored)
inherit_from:
- .rubocop_todo.yml
Lint/Debugger: # don't leave binding.pry
Enabled: true
Exclude: []
RSpec/Focus: # run ALL tests on CI
Enabled: true
Exclude: []
Rails/Output: # Don't leave puts-debugging
Enabled: true
Exclude: []
Rails/FindEach: # each could badly affect the performance, use find_each
Enabled: true
Exclude: []
Rails/UniqBeforePluck: # uniq.pluck and not pluck.uniq
Enabled: true
Exclude: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment