inherit_from: - http://relaxed.ruby.style/rubocop.yml require: - rubocop-performance AllCops: NewCops: enable DisplayStyleGuide: true DisplayCopNames: true Exclude: - 'bin/*' Metrics/BlockLength: Exclude: - 'spec/**/*.rb' - 'Guardfile' - 'vendor/bundle' - '*.gemspec' Style/GlobalVars: Exclude: - spec/rspec_in_context/in_context_spec.rb Naming/MethodParameterName: Enabled: false Layout/DotPosition: Enabled: true EnforcedStyle: trailing Style/TrailingCommaInArrayLiteral: Enabled: true EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: Enabled: true EnforcedStyleForMultiline: comma Layout/MultilineArrayLineBreaks: Enabled: true Layout/MultilineHashKeyLineBreaks: Enabled: true Layout/MultilineMethodArgumentLineBreaks: Enabled: true Layout/FirstArrayElementLineBreak: Enabled: true Layout/FirstHashElementLineBreak: Enabled: true Layout/FirstMethodArgumentLineBreak: Enabled: true Layout/MultilineAssignmentLayout: Enabled: true Layout/LineLength: Enabled: true Max: 120 AutoCorrect: true Exclude: - Gemfile - Guardfile