Sha256: 76a10a5b16687c3153f12aa3f08f149f402c05901c3251aef44370174839b0c6

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

# The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md

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

AllCops:
  TargetRubyVersion: 2.7
  EnabledByDefault: true
  DisplayCopNames: true

Style/Copyright:
  Enabled: true
  Notice: 'Copyright (\(c\) )?202[0-9] Jerome Arbez-Gindre'
  AutocorrectNotice: '# Copyright (c) 2023 Jerome Arbez-Gindre'

Lint/ConstantResolution: # Not available ins rubocop 0.81
  Enabled: false

Style/DocumentationMethod:
  Enabled: false

Style/StringHashKeys :
  Enabled: true
  Exclude:
    - '*.gemspec'
    - 'spec/**/*'

Style/MissingElse:
  EnforcedStyle: case

Metrics/ModuleLength :
  Exclude:
    - 'spec/**/*'

Metrics/BlockLength :
  Exclude:
    - 'spec/**/*'
    - '*.gemspec'

Security/Eval :
  Exclude:
    - 'Rakefile'

Style/ConstantVisibility :
  Exclude:
     # there is one unique explicit constant visibility for all
     # constants
    - 'lib/defmastership/constants.rb'

# rubocop-rspec options
RSpec/MessageExpectation :
  Enabled: true

RSpec/FilePath :
  Enabled: true

RSpec/NestedGroups:
  Max: 4

Layout/RedundantLineBreak:
  Enabled: false

Layout/EndOfLine:
  EnforcedStyle: lf

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
defmastership-1.0.18 .rubocop.yml
defmastership-1.0.17 .rubocop.yml