Skip to content

Instantly share code, notes, and snippets.

@vierarb
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vierarb/bfa3db53a894376d87dd to your computer and use it in GitHub Desktop.
Save vierarb/bfa3db53a894376d87dd to your computer and use it in GitHub Desktop.
Rubocop config file proposal
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-02-23 19:26:33 +0100 using RuboCop version 0.29.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
Lint/Void:
Enabled: false
# Offense count: 7
Metrics/AbcSize:
Max: 23
# Offense count: 9
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 15
# Offense count: 3
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/ClassAndModuleChildren:
Enabled: false
# Offense count: 2
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MethodName:
Enabled: false
inherit_from:
- .rubocop_todo.yml
AllCops:
RunRailsCops: true
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'Vagrantfile'
- 'bin/*'
#Metrics/MethodLength:
# Max: 5
Metrics/LineLength:
Max: 80
Style/AlignHash:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/Documentation:
Enabled: false
Style/BlockComments:
Enabled: false
Style/GuardClause:
Enabled: false
Style/MultilineOperationIndentation:
EnforcedStyle: indented
Style/DotPosition:
EnforcedStyle: leading
Style/AndOr:
EnforcedStyle: conditionals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment