Skip to content

Instantly share code, notes, and snippets.

@sixfeetover
Created March 7, 2017 18:23
Show Gist options
  • Save sixfeetover/fa35aa220d08f7fef3ef0a375b022314 to your computer and use it in GitHub Desktop.
Save sixfeetover/fa35aa220d08f7fef3ef0a375b022314 to your computer and use it in GitHub Desktop.
rubocop
AllCops:
TargetRubyVersion: 2.3
Metrics/LineLength:
Max: 200
Metrics/MethodLength:
Max: 20
Metrics/ClassLength:
Max: 400
Metrics/AbcSize:
Max: 30
# Reserve space for blocks to visually distinguish blocks from hashes
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
# use 'raise' instead of 'fail'
Style/SignalException:
EnforcedStyle: only_raise
# mixed: Use slashes on single-line regexes, and %r on multi-line regexes.
Style/RegexpLiteral:
EnforcedStyle: mixed
Documentation:
Enabled: false
# This is nice in theory, but sometimes gem order actually matters functionally
Bundler/OrderedGems:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment