Sha256: 8287c41c40ad94aa6d52224330d420ef5fa4c666c23c6079bf986f0c8f85cb5d

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

inherit_from: .rubocop_todo.yml

require:
  - rubocop-performance

inherit_gem:
  rubocop-mdsol: rubocop.yml

AllCops:
  Exclude:
    - '*gemspec'
  # NOTE: Excludes vendor from linting. Needed by GitHub Actions.
  # - https://github.com/rubocop/rubocop/issues/9832#issuecomment-873398952
  #
    - 'vendor/bundle/**/*'

Layout/ArgumentAlignment:
  EnforcedStyle: with_fixed_indentation

Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

Lint/ConstantDefinitionInBlock:
  Exclude:
    - 'spec/**/*'

Lint/StructNewOverride:
  Exclude:
    - spec/lib/lorekeeper/backtrace_cleaner_spec.rb

Metrics/ParameterLists:
  CountKeywordArgs: false

# TODO: add "EnforcedStyle: allow_single_line" once all rubys are > 3.0 to autocorrect all single-line methods to endless
# https://github.com/rubocop/rubocop/blob/20990ed3831589c0d9f202107b1b580ead8ef2c5/lib/rubocop/cop/style/single_line_methods.rb#L11
#
Style/SingleLineMethods:
  Enabled: false

Style/MissingRespondToMissing:
  Enabled: false

Style/FrozenStringLiteralComment:
  Enabled: true

Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lorekeeper-2.6.4 .rubocop.yml
lorekeeper-2.6.3 .rubocop.yml