Skip to content

Instantly share code, notes, and snippets.

@gfx
Created August 15, 2016 08:55
Show Gist options
  • Save gfx/41240a347731b266a048190edfc35c12 to your computer and use it in GitHub Desktop.
Save gfx/41240a347731b266a048190edfc35c12 to your computer and use it in GitHub Desktop.
As of 2016/08/15
# See also https://github.com/onk/onkcop/blob/master/config/rubocop.yml
AllCops:
TargetRubyVersion: 2.3
DisplayCopNames: true
Exclude:
- vendor/**/*
- db/**/*
- bin/**
- node_modules/**/*
Lint/UnusedBlockArgument:
Enabled: false
Metrics/AbcSize:
Max: 27
Metrics/CyclomaticComplexity:
Max: 10
Metrics/ClassLength:
Enabled: false
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Max: 40
Rails:
Enabled: true
Rails/OutputSafety:
Enabled: false
Rails/TimeZone:
Enabled: true
Style/CommentAnnotation:
Enabled: false
Style/Documentation:
Enabled: false
Style/FileName:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/GuardClause:
Enabled: false
Style/IfInsideElse:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/Lambda:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%': '{}'
Style/SignalException:
Enabled: false
Style/WordArray:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/ConditionalAssignment:
Enabled: false
Style/RescueModifier:
Enabled: false
Rails/Validation:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment