Sha256: b5c4bb79c196dc57759ae5e27b82beffec1a631001743efeb4cb9f2712772d1f

Contents?: true

Size: 1.72 KB

Versions: 11

Compression:

Stored size: 1.72 KB

Contents

inherit_from: https://raw.githubusercontent.com/GetTerminus/ruby_shared_configs/master/.rubocop.yml


AllCops:
  TargetRubyVersion: 2.7
  Exclude:
    - Makefile
    - vendor/**/*
    - bin/*
    - Guardfile
    - lib/instrument_all_the_things/thread.rb

Naming/AccessorMethodName:
  Exclude:
    - app/controllers/**/*

Layout/EndOfLine:
  Enabled: false

Style/DateTime:
  Enabled: false

Style/Documentation:
  Enabled: false

Lint/Debugger:
  Enabled: true

Style/FrozenStringLiteralComment:
  Enabled: true
  EnforcedStyle: always

Style/TrailingCommaInHashLiteral:
  Enabled: true
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  Enabled: true
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArguments:
  Enabled: true
  EnforcedStyleForMultiline: comma

Lint/UnusedMethodArgument:
  AllowUnusedKeywordArguments: true

Layout/LineLength:
  Enabled: true
  Max: 280
  IgnoreCopDirectives: true
  IgnoredPatterns: ['\A#', '\A\s*sig { .* }\Z']
  Exclude:
    - '**/*_pb.rb'

Metrics/AbcSize:
  Enabled: true
  Max: 46

Metrics/CyclomaticComplexity:
  Max: 7

Metrics/MethodLength:
  Enabled: true
  Max: 32

Layout/ParameterAlignment:
  Enabled: true
  EnforcedStyle: with_fixed_indentation

Naming/MethodParameterName:
  Enabled: true
  AllowedNames: ['io', 'id', 'to', 'by', 'on', 'in', 'at', '_'] # Defaults + _

Layout/MultilineMethodCallIndentation:
  Enabled: true
  EnforcedStyle: indented

Style/ParallelAssignment:
  Enabled: true

Metrics/ClassLength:
  Max: 240

Metrics/BlockLength:
  Max: 30
  Exclude:
    - spec/**/*.rb
    - '**/*_pb.rb'

Style/BlockDelimiters:
  Enabled: true
  BracesRequiredMethods: ['expect']

Metrics/ParameterLists:
  Max: 6

Lint/AmbiguousBlockAssociation:
  Exclude:
    - spec/**/*.rb

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
instrument_all_the_things-5.0.1 .rubocop.yml
instrument_all_the_things-5.0.0 .rubocop.yml
instrument_all_the_things-4.0.0 .rubocop.yml
instrument_all_the_things-3.1.2 .rubocop.yml
instrument_all_the_things-3.1.2.pre1 .rubocop.yml
instrument_all_the_things-3.1.1 .rubocop.yml
instrument_all_the_things-3.1.0 .rubocop.yml
instrument_all_the_things-3.1.0.pre1 .rubocop.yml
instrument_all_the_things-3.0.0 .rubocop.yml
instrument_all_the_things-2.0.2 .rubocop.yml
instrument_all_the_things-2.0.1 .rubocop.yml