Sha256: fd0723b1251a4ff51bd427ccda171e94823423ce361087585eaaa5282132f2c7

Contents?: true

Size: 1.7 KB

Versions: 5

Compression:

Stored size: 1.7 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) 2020 Jerome Arbez-Gindre'

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

Style/DocumentationMethod:
  Enabled: false

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

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/asciidoctor/defmastership/extension.rb'

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

RSpec/FilePath :
  Enabled: true

RSpec/NestedGroups:
  Max: 4

Layout/RedundantLineBreak:
  Enabled: false
  
Style/DisableCopsWithinSourceCodeDirective:
  Enabled: true
  AllowedCops: ['Lint/InterpolationCheck']

Layout/EndOfLine:
  EnforcedStyle: lf
  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-defmastership-1.0.10 .rubocop.yml
asciidoctor-defmastership-1.0.9 .rubocop.yml
asciidoctor-defmastership-1.0.8 .rubocop.yml
asciidoctor-defmastership-1.0.7 .rubocop.yml
asciidoctor-defmastership-1.0.6 .rubocop.yml