Last active
August 29, 2015 14:07
-
-
Save rikas/3e87fc584881b6947f1a to your computer and use it in GitHub Desktop.
Rubocop configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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