Sha256: 689a12082a3b123ecbeaee5165f33702d022edd333e99ed894f13bf2e47284f9

Contents?: true

Size: 1.39 KB

Versions: 3

Compression:

Stored size: 1.39 KB

Contents

inherit_from: .rubocop_todo.yml

AllCops:
  Exclude:
    - vendor/**/*
    - gemfiles/**/*


################
# Code Metrics #
################
Metrics/BlockLength:
  Exclude:
    - 'test/schema.rb'
    - '*.gemspec'

Metrics/AbcSize:
  Max: 25

Metrics/LineLength:
  Max: 140

Metrics/MethodLength:
  Max: 10
  CountComments: false


###############
# Style Rules #
###############
Style/Alias:
  EnforcedStyle: prefer_alias_method

# ¯\_(ツ)_/¯
# ʕノ•ᴥ•ʔノ ︵ ┻━┻
# ( ͡° ͜ʖ ͡°)
Style/AsciiComments:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/DoubleNegation:
  Enabled: false

Style/EmptyLinesAroundClassBody:
  EnforcedStyle: empty_lines_except_namespace

Style/EmptyLinesAroundModuleBody:
  EnforcedStyle: empty_lines_except_namespace

Style/FrozenStringLiteralComment:
  EnforcedStyle: never

Style/HashSyntax:
  EnforcedStyle: ruby19

# TODO: replace the [] below with default once a new version of
#       rubocop comes out, since there is a PR for it:
#       https://github.com/bbatsov/rubocop/pull/4038
Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%':  '{}'
    '%i': '[]'
    '%I': '[]'
    '%q': '{}'
    '%Q': '{}'
    '%r': '{}'
    '%s': '[]'
    '%w': '[]'
    '%W': '[]'
    '%x': '[]'

Style/RaiseArgs:
  EnforcedStyle: compact

Style/SpaceInsideHashLiteralBraces:
  EnforcedStyle: space

Style/StringLiterals:
  EnforcedStyle: double_quotes

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts_as_archival-1.4.0 .rubocop.yml
acts_as_archival-1.3.0 .rubocop.yml
acts_as_archival-1.2.0 .rubocop.yml