Skip to content

Commit

Permalink
updating rubocop todo
Browse files Browse the repository at this point in the history
  • Loading branch information
maia committed Jan 24, 2016
1 parent 9eb2a57 commit c308c22
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Style/MultilineMethodCallIndentation:
EnforcedStyle: indented
IndentationWidth: 4

# unsure how we'd want it
#Style/MultilineOperationIndentation:
# IndentationWidth: 4
Style/MultilineOperationIndentation:
EnforcedStyle: indented
IndentationWidth: 4

# these are not continued (e.g. 'private'), so we keep them at 2 chars
Style/AccessModifierIndentation:
Expand Down
31 changes: 16 additions & 15 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-01-23 03:18:41 +0100 using RuboCop version 0.36.0.
# on 2016-01-24 21:09:34 +0100 using RuboCop version 0.36.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 11
Metrics/AbcSize:
Max: 137
Max: 118

# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 214
Max: 218

# Offense count: 9
# Offense count: 7
Metrics/CyclomaticComplexity:
Max: 41
Max: 40

# Offense count: 8
# Offense count: 7
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 57

# Offense count: 1
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 134
Max: 140

# Offense count: 6
Metrics/PerceivedComplexity:
Max: 43
Max: 41

# Offense count: 4
# Cop supports --auto-correct.
Expand All @@ -43,10 +43,12 @@ Style/CommentIndentation:
Style/Documentation:
Enabled: false

# Offense count: 2
Style/MultilineBlockChain:
Exclude:
- 'lib/pragmatic_tokenizer/post_processor.rb'
# Offense count: 17
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: aligned, indented
Style/MultilineOperationIndentation:
Enabled: false

# Offense count: 1
# Configuration parameters: SuspiciousParamNames.
Expand All @@ -55,12 +57,11 @@ Style/OptionHash:
Exclude:
- 'lib/pragmatic_tokenizer/tokenizer.rb'

# Offense count: 4
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'lib/pragmatic_tokenizer/post_processor.rb'
- 'lib/pragmatic_tokenizer/pre_processor.rb'
- 'lib/pragmatic_tokenizer/tokenizer.rb'

0 comments on commit c308c22

Please sign in to comment.