Sha256: bd6ccd5de6c277a97f92a6a7e79daf140e02d46ba2680cefe6b6d372a2327034

Contents?: true

Size: 1.9 KB

Versions: 4

Compression:

Stored size: 1.9 KB

Contents

require:
  - rubocop-performance
  - rubocop-rake
  - rubocop-rspec

AllCops:
  TargetRubyVersion: 3.2
  DisplayCopNames: true
  NewCops: enable

Layout/LineLength:
  Max: 120

Layout/DotPosition:
  EnforcedStyle: leading

Layout/SpaceInsideArrayLiteralBrackets:
  EnforcedStyle: no_space

Layout/MultilineArrayBraceLayout:
  EnforcedStyle: new_line

Layout/MultilineHashBraceLayout:
  EnforcedStyle: new_line

Layout/MultilineMethodCallBraceLayout:
  EnforcedStyle: new_line

Layout/FirstArgumentIndentation:
  EnforcedStyle: consistent

Lint/AmbiguousBlockAssociation:
  Enabled: true
  AllowedMethods: [ change, not_change ]

Metrics/BlockLength:
  Max: 80
  Exclude:
    - "spec/**/*.rb"

Metrics/MethodLength:
  Max: 40
  Exclude:
    - "spec/**/*.rb"

Metrics/ParameterLists:
  Max: 3
  CountKeywordArgs: false

Metrics/AbcSize:
  Enabled: false

Metrics/BlockNesting:
  Max: 5
  Exclude:
    - "spec/**/*.rb"

Metrics/ClassLength:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: false

Metrics/ModuleLength:
  Enabled: false

Metrics/PerceivedComplexity:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/SymbolArray:
  EnforcedStyle: brackets

Style/WordArray:
  EnforcedStyle: brackets

# All lambda will be like `->() {}`, `->() do end`.
Style/Lambda:
  EnforcedStyle: literal

Style/ConditionalAssignment:
  Enabled: false

Style/EmptyMethod:
  EnforcedStyle: expanded

Style/SingleLineMethods:
  AllowIfMethodIsEmpty: false

Style/FormatStringToken:
  Enabled: false

Style/BlockDelimiters:
  Enabled: true
  BracesRequiredMethods: [ 'expect', 'change' ]

Style/GuardClause:
  Enabled: false

# internal concerns must be written in compact style.
# classes in a namespace should be written in expanded style.
Style/ClassAndModuleChildren:
  Enabled: false

Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes

Style/StringLiteralsInInterpolation:
  Enabled: true
  EnforcedStyle: single_quotes

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cryptomus-0.2.1 .rubocop.yml
cryptomus-0.2.0 .rubocop.yml
cryptomus-0.1.1 .rubocop.yml
cryptomus-0.1.0 .rubocop.yml