Sha256: de7bf61a37527f883b04b1856283bd6de1ed6d2a6c739fe2afef2142ed92e532

Contents?: true

Size: 1.86 KB

Versions: 4

Compression:

Stored size: 1.86 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
  - rubocop-yard

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/unit/defmastership/batch_modifier_spec.rb'
    - 'spec/unit/defmastership/modifier/update_def_checksum_spec.rb'
    - 'spec/unit/defmastership/modifier/update_def_spec.rb'
    - 'spec/unit/defmastership/modifier/update_def_version_spec.rb'

Style/MissingElse:
  EnforcedStyle: case

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

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

Security/Eval :
  Exclude:
    - 'Rakefile'

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

RSpec/SpecFilePathFormat :
  Enabled: true

RSpec/SpecFilePathSuffix :
  Enabled: true

RSpec/NestedGroups:
  Max: 4

Layout/RedundantLineBreak:
  Enabled: false

Style/DisableCopsWithinSourceCodeDirective:
  Enabled: true
  Exclude:
    - 'Gemfile'
    - 'tasks/code_quality.rake'

Layout/EndOfLine:
  EnforcedStyle: lf

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
defmastership-1.3.0 config/rubocop.yml
defmastership-1.2.0 config/rubocop.yml
defmastership-1.1.1 config/rubocop.yml
defmastership-1.1.0 config/rubocop.yml