-
-
Save libbyschuknight/1c30ed1a78f9e69685387709f4d5dc9e 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