Skip to content

Instantly share code, notes, and snippets.

@rikas
Last active August 29, 2015 14:07
Show Gist options
  • Save rikas/3e87fc584881b6947f1a to your computer and use it in GitHub Desktop.
Save rikas/3e87fc584881b6947f1a to your computer and use it in GitHub Desktop.
Rubocop configuration
AllCops:
Include:
- '**/*.gemspec'
- '**/*.podspec'
- '**/*.jbuilder'
- '**/*.rake'
- '**/Gemfile'
- '**/Rakefile'
- '**/Capfile'
- '**/Vagabondfile'
- 'config/routes.rb'
Exclude:
- 'spec/**/*'
- 'db/**/*'
- 'config/environments/**/*'
- 'config/initializers/**/*'
- 'config/deploy/**/*'
- 'config/application.rb'
- 'config/unicorn.rb'
- 'bin/**/*'
# By default, the rails cops are not run. Override in project or home
# directory .rubocop.yml files, or by giving the -R/--rails option.
RunRailsCops: true
# Max line length is changed from default 80
Metrics/LineLength:
Max: 100
# Class top level documentation
Style/Documentation:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment