.rubocop.yml
inherit_from:
- .relaxed-rubocop-2.5.yml
- .rubocop_todo.yml
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
UseCache: true
DefaultFormatter: progress
DisplayStyleGuide: true
DisplayCopNames: true
Exclude:
- "external*/**/*"
- "bazel-*/**/*"
- "**/examples/**/*"
- "**/BUILD"
- "**/*.bazel"
- "**/*.bzl"
- "**/rubocop"
- "**/vendor/bundle/**/*"
Include:
- '**/*.rb'
- '**/*.gemfile'
- '**/*.gemspec'
- '**/*.rake'
- '**/*.ru'
- '**/Gemfile'
- '**/Rakefile'
Layout/HashAlignment:
Enabled: true
EnforcedColonStyle: table
Style/Dir:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented_relative_to_receiver
Metrics/BlockLength:
Enabled: false