Skip to content

Instantly share code, notes, and snippets.

@gbelote
Created October 10, 2017 22:10
Show Gist options
  • Save gbelote/02c802cffddcea81376a805532cef6ea to your computer and use it in GitHub Desktop.
Save gbelote/02c802cffddcea81376a805532cef6ea to your computer and use it in GitHub Desktop.
ruby:
config_file: .rubocop.yml
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Exclude:
- 'app/serializers/*'
- 'db/**/*'
# I'm disabling this because we use $rollout in a few places, which cause
# this error to be raised. We could re-consider the use of the global variable.
# Perhaps use a sort of pool that would be thread-safe?
Style/GlobalVars:
Enabled: false
Style/NilComparison:
Exclude:
- 'features/**/*'
- 'spec/**/*'
Style/StringLiterals:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/LineLength:
Exclude:
- 'db/**/*'
# allow == operator used in void context in specs
Void:
Exclude:
- 'features/**/*'
- 'spec/**/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment