Created
November 20, 2017 19:49
-
-
Save voodooGQ/103f98dd7b43252ac5ff39d295bc45c5 to your computer and use it in GitHub Desktop.
Github Rubocop Adendum
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
inherit_gem: | |
rubocop-github: | |
- config/default.yml | |
- config/rails.yml | |
AllCops: | |
Exclude: | |
- 'bin/*' | |
- 'Gemfile' | |
- 'Guardfile' | |
DisplayCopNames: true | |
# Metrics | |
Metrics/MethodLength: | |
Max: 40 # Should probably be another method at this point | |
Metrics/BlockLength: | |
Max: 30 # Probably a way to shorten up the block | |
Metrics/ModuleLength: | |
Max: 200 | |
Metrics/ClassLength: | |
Max: 125 | |
# Style | |
Style/GuardClause: | |
Enabled: false | |
Style/RegexpLiteral: | |
Enabled: false | |
Style/DoubleNegation: | |
Enabled: false | |
# Layout | |
Layout/ExtraSpacing: | |
Enabled: false # Allows for aligning assignment equals | |
Layout/SpaceAroundOperators: | |
Enabled: false # Allows for aligning assignment equals |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment