Skip to content

Instantly share code, notes, and snippets.

@ares
Created September 21, 2015 13:00
Show Gist options
  • Save ares/774c7f043f858d253a35 to your computer and use it in GitHub Desktop.
Save ares/774c7f043f858d253a35 to your computer and use it in GitHub Desktop.
Default .rubocop.yml
AllCops:
Include:
- "**/*.gemspec"
- "**/Rakefile"
- "**/Gemfile"
- "**/Vagrantfile"
- "**/config.ru"
Exclude:
- "vendor/**/*"
- "db/schema.rb"
Style/AlignHash:
EnforcedLastArgumentHashStyle: ignore_implicit
Style/BlockNesting:
Enabled: false
Style/CaseIndentation:
IndentOneStep: true
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
Style/Encoding:
EnforcedStyle: when_needed
Style/FormatString:
Enabled: false
Style/GuardClause:
Enabled: false
Style/IfUnlessModifier:
MaxLineLength: 120
Style/IndentHash:
EnforcedStyle: consistent
Style/LambdaCall:
EnforcedStyle: call
Style/LineLength:
Max: 120
Style/NonNilCheck:
IncludeSemanticChanges: true
Style/MethodLength:
Enabled: false
Style/PredicateName:
NamePrefixBlacklist:
- is_
Style/RedundantReturn:
AllowMultipleReturnValues: true
Style/SingleLineBlockParams:
Enabled: false
Style/WhileUntilModifier:
MaxLineLength: 120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment