Skip to content

Instantly share code, notes, and snippets.

@tahb
Created April 4, 2016 15:27
Show Gist options
  • Save tahb/8cfab6d5b5cf3e94ca29b5e9e468c10d to your computer and use it in GitHub Desktop.
Save tahb/8cfab6d5b5cf3e94ca29b5e9e468c10d to your computer and use it in GitHub Desktop.
rubocop styles
AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.3
Style/StringLiterals:
Exclude:
- bin/setup
- config/application.rb
- db/schema.rb
Style/EmptyLinesAroundBlockBody:
Exclude:
- db/schema.rb
Style/Documentation:
Enabled: false
Metrics:
Enabled: false
Style/ExtraSpacing:
Exclude:
- bin/setup
- db/schema.rb
Style/SymbolProc:
Exclude:
- spec/factories/*
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/NumericLiterals:
Exclude:
- db/schema.rb
Style/MultilineMethodCallIndentation:
EnforcedStyle: indented
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/FrozenStringLiteralComment:
Enabled: false
Rails:
Enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment