Skip to content

Instantly share code, notes, and snippets.

@YuheiNakasaka
Created April 18, 2022 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YuheiNakasaka/4de74cb50659c0bc40b9b921b81130c1 to your computer and use it in GitHub Desktop.
Save YuheiNakasaka/4de74cb50659c0bc40b9b921b81130c1 to your computer and use it in GitHub Desktop.
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