Sha256: e7b6bb9770e90a78ad3b659da791b1b7f3e1db29ba79c50eea643183a9839855

Contents?: true

Size: 1.99 KB

Versions: 1

Compression:

Stored size: 1.99 KB

Contents

require:
  - rubocop-performance
  - rubocop-rails
  - rubocop-rake
  - rubocop-rspec
  - rubocop-thread_safety

AllCops:
  TargetRubyVersion: 2.5
  NewCops: enable
  Exclude:
    - bin/**/*
    - vendor/**/*

Style/StringLiterals:
  Enabled: false

Layout/LineLength:
  Max: 120

Metrics/MethodLength:
  Max: 15

Metrics/BlockLength:
  Exclude:
    - spec/**/*

Layout/ParameterAlignment:
  EnforcedStyle: with_fixed_indentation

Style/NumericPredicate:
  Enabled: false

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': '[]'
    '%W': '[]'

Style/GuardClause:
  Enabled: false

Naming/VariableNumber:
  EnforcedStyle: snake_case

Bundler/OrderedGems:
  Enabled: false

Bundler/DuplicatedGem:
  Enabled: false

Style/EmptyMethod:
  EnforcedStyle: expanded

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Style/Documentation:
  Enabled: false

Style/WordArray:
  EnforcedStyle: percent
  MinSize: 3

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

Rails/ApplicationRecord:
  Enabled: false

Rails/TimeZone:
  Enabled: false

RSpec/ContextWording:
  Prefixes:
    - using
    - via
    - when
    - with
    - without

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

Layout/SpaceAroundMethodCallOperator:
  Enabled: true

Style/ExponentialNotation:
  Enabled: true

RSpec/DescribedClass:
  Enabled: true

RSpec/ExpectInHook:
  Enabled: false

RSpec/FilePath:
  CustomTransform:
    TSearch: "tsearch"
    DMetaphone: "dmetaphone"

Layout/EmptyLinesAroundAttributeAccessor:
  Enabled: true

Lint/DeprecatedOpenSSLConstant:
  Enabled: true

Style/SlicingWithRange:
  Enabled: true

Lint/MixedRegexpCaptureTypes:
  Enabled: true

Style/RedundantFetchBlock:
  Enabled: true

Style/RedundantRegexpCharacterClass:
  Enabled: true

Style/RedundantRegexpEscape:
  Enabled: true

RSpec/MultipleExpectations:
  Max: 5

RSpec/MultipleMemoizedHelpers:
  AllowSubject: true

RSpec/ExampleLength:
  Max: 15

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_search-2.3.3 .rubocop.yml