Sha256: aedc1b48e90e366cebef508a531d80545cca1ca984787a1054dab279d8e439a3

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 KB

Contents

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

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.4 .rubocop.yml