Sha256: ace6cd1920c8fcfc0a9489ce8d56549bd0de918702ff8b37d6dcfcb4b1b1255f

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 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.3
  EnabledByDefault: true
  DisplayCopNames: true

Style/Copyright:
  Enabled: false
  AutocorrectNotice: 'Copyright 2020 by Jérôme Arbez-Gindre'

# Lint/ConstantResolution: # not available in 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'

Layout/LineLength:
  Max: 120                      # default for rubocop later than 0.81

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

RSpec/FilePath :
  Enabled: false

# RSpec/NestedGroups:
#   Max: 4

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-defmastership-1.0.0 .rubocop.yml