Sha256: 83093dc1bf724c9af7089bfc8d071db3a81b91171bd53bb9d7c4cef9f5680bc0

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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-rspec

AllCops:
  TargetRubyVersion: 2.5
  EnabledByDefault: true
  DisplayCopNames: true

Style/Copyright:
  Enabled: true
  Notice: 'Copyright (\(c\) )?2020 Jerome Arbez-Gindre'
  AutocorrectNotice: '# Copyright (c) 2020 Jerome Arbez-Gindre'

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

Style/DocumentationMethod:
  Enabled: false

Style/StringHashKeys :
  Enabled: false

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: false

RSpec/FilePath :
  Enabled: false

RSpec/NestedGroups:
  Max: 4

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
defmastership-1.0.5 .rubocop.yml
defmastership-1.0.4 .rubocop.yml