Created
September 15, 2016 18:02
-
-
Save anonymous/8e3fd136a5802186cc67be3e375a364f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Built-in config: | |
# https://github.com/bbatsov/rubocop/blob/master/config/default.yml | |
# We do not typically use/need class documentation | |
Documentation: | |
Enabled: false | |
Metrics/LineLength: | |
Max: 120 | |
Metrics/MethodLength: | |
Max: 15 | |
Metrics/ModuleLength: | |
Exclude: | |
- 'spec/**/*_spec.rb' | |
Style/RaiseArgs: | |
Enabled: false | |
Metrics/ParameterLists: | |
Max: 6 | |
Style/StringLiterals: | |
EnforcedStyle: double_quotes | |
Style/StringLiteralsInInterpolation: | |
EnforcedStyle: double_quotes | |
# Run rails specific checks | |
# https://github.com/bbatsov/rubocop#rails | |
Rails: | |
Enabled: true | |
AllCops: | |
TargetRubyVersion: 2.2 | |
Include: | |
# Include important files that don't end in .rb | |
- '**/Rakefile' | |
- '**/config.ru' | |
Exclude: | |
# exclude files in /vendor because some CI systems put gems in here e.g. | |
# TravisCI | |
- 'vendor/**/*' | |
# exclude the autogenerated schema file as we don't have any control over | |
# its format | |
- 'db/schema.rb' | |
- 'bin/**/*' | |
- 'doc/**/*' | |
- 'db/migrate/**/*' | |
- 'db/seeds.rb' | |
- 'features/**/*.rb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment