Skip to content

Instantly share code, notes, and snippets.

@YuheiNakasaka
Created Apr 18, 2022
Embed
What would you like to do?
inherit_from: .rubocop_todo.yml
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: true
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Lint/MixedRegexpCaptureTypes:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Style/AccessorGrouping:
Enabled: true
Style/AsciiComments:
Enabled: false
Style/BisectedAttrAccessor:
Enabled: true
Style/EmptyMethod:
Enabled: true
EnforcedStyle: expanded
Style/ExponentialNotation:
Enabled: true
Style/HashAsLastArrayItem:
EnforcedStyle: no_braces
Style/HashEachMethods:
Enabled: false
Style/HashTransformKeys:
Enabled: false
Style/HashTransformValues:
Enabled: false
Style/SlicingWithRange:
Enabled: true
Style/RedundantAssignment:
Enabled: false
Style/RedundantFetchBlock:
Enabled: true
SafeForConstants: true
Style/RedundantRegexpCharacterClass:
Enabled: true
Style/RedundantRegexpEscape:
Enabled: true
Style/CommentedKeyword:
Enabled: false
Metrics/BlockLength:
Exclude:
- "config/routes.rb"
AllCops:
TargetRubyVersion: 3.1
Exclude:
- "db/schema.rb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment