.rubocop.yml in foreplay-0.7.6 vs .rubocop.yml in foreplay-0.8.0

- old
+ new

@@ -1,49 +1,52 @@ --- +# These are OK: + StringLiterals: EnforcedStyle: single_quotes Enabled: true DotPosition: Description: 'Checks the position of the dot in multi-line method calls.' EnforcedStyle: leading - # EnforcedStyle: trailing Enabled: true -LineLength: - Description: 'Limit lines to 137 characters.' - Max: 137 +ClassAndModuleChildren: + Description: 'Checks style of children classes and modules.' + EnforcedStyle: compact Enabled: true -FileName: - Description: 'Use snake_case for source file names.' +Documentation: + Description: 'Document classes and non-namespace modules.' Enabled: false -MethodLength: - Description: 'Avoid methods longer than 10 lines of code.' +Output: + Description: 'Checks for calls to puts, print, etc.' Enabled: false -Documentation: - Description: 'Document classes and non-namespace modules.' +ExtraSpacing: Enabled: false +FileName: + Description: 'Use snake_case for source file names.' + Enabled: true + +# Work on these: + +LineLength: + Description: 'Limit lines to 137 characters.' + Max: 120 + Enabled: true + +MethodLength: + Description: 'Avoid methods longer than 10 lines of code.' + Max: 27 # 85 + CyclomaticComplexity: Description: 'Avoid complex methods.' - Max: 13 + Max: 9 PerceivedComplexity: - Max: 17 + Max: 11 # 17 -ClassLength: - Description: 'Avoid classes longer than 100 lines of code.' - CountComments: false # count full line comments? - Max: 295 - -Output: - Description: 'Checks for calls to puts, print, etc.' - Enabled: false - AbcSize: - Max: 62 - -ExtraSpacing: - Enabled: false + Max: 48 # 62