Skip to content

Instantly share code, notes, and snippets.

@Ishotihadus
Last active May 17, 2024 16:00
Show Gist options
  • Save Ishotihadus/2bade96a3a4244e4341689be5e2c5733 to your computer and use it in GitHub Desktop.
Save Ishotihadus/2bade96a3a4244e4341689be5e2c5733 to your computer and use it in GitHub Desktop.
いつも使ってる rubocop.yml
AllCops:
NewCops: enable
TargetRubyVersion: 3.3
Metrics/AbcSize:
Max: 170
Metrics/BlockLength:
Max: 250
Metrics/ClassLength:
Max: 1000
Metrics/CyclomaticComplexity:
Max: 70
Metrics/MethodLength:
Max: 100
Metrics/ModuleLength:
Max: 1000
Metrics/ParameterLists:
Max: 50
Metrics/PerceivedComplexity:
Max: 80
Layout/SpaceInsideBlockBraces:
EnforcedStyle: no_space
SpaceBeforeBlockParameters: false
Layout/LineLength:
Max: 180
Style/Documentation:
Enabled: false
Style/NumericPredicate:
EnforcedStyle: comparison
Style/MultilineBlockChain:
Enabled: false
Style/SpecialGlobalVars:
EnforcedStyle: use_perl_names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment