Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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