Skip to content

Instantly share code, notes, and snippets.

@pollcaz
Created July 25, 2016 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pollcaz/ceb066687dde4bd714c8835a5bdb9db4 to your computer and use it in GitHub Desktop.
Save pollcaz/ceb066687dde4bd714c8835a5bdb9db4 to your computer and use it in GitHub Desktop.
#inherit_from: ../.rubocop.yml
AllCops:
Includes:
- Rakefile
- config.ru
Excludes:
- db/**/*
- config/**/*
- script/**/*
- frontend/**/*
TargetRubyVersion: 2.3
Style/Encoding:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false #always
Metrics/LineLength:
Max: 100
Style/EmptyLinesAroundAccessModifier:
Enabled: false
Rails:
Enabled: true
Metrics/MethodLength:
CountComments: false
Max: 10
Style/MultilineOperationIndentation:
EnforcedStyle: indented
@pollcaz
Copy link
Author

pollcaz commented Jul 25, 2016

This is a .rubocop.yml whith the best practice to apply in rails and ruby projects using sublimetext as editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment