Last active
May 17, 2024 16:00
-
-
Save Ishotihadus/2bade96a3a4244e4341689be5e2c5733 to your computer and use it in GitHub Desktop.
いつも使ってる rubocop.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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