Skip to content

Instantly share code, notes, and snippets.

@beanieboi
Created September 21, 2015 14:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save beanieboi/4eeec9e802c5b07adc25 to your computer and use it in GitHub Desktop.
AllCops:
Exclude:
- config/**/*
- db/**/*
Metrics/LineLength:
Description: 'Limit lines to 120 characters.'
Max: 120
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: single_quotes
Style/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
Style/AlignParameters:
Enabled: with_fixed_indentation
Style/NumericLiterals:
Enabled: false
Style/CollectionMethods:
PreferredMethods:
collect: map
collect!: map!
find: detect
find_all: select
reduce: inject
Style/RedundantSelf:
Enabled: false
Style/Documentation:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment