Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
gfx committed Sep 26, 2017
1 parent f28eabd commit f8bf117
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ Lint/AmbiguousBlockAssociation:
Lint/ScriptPermission:
Enabled: false

Lint/RescueWithoutErrorClass:
Enabled: false

Layout/MultilineMethodCallIndentation:
Enabled: false

Layout/EmptyLinesAroundClassBody:
Enabled: false

Metrics/AbcSize:
Max: 32
Max: 35

Metrics/PerceivedComplexity:
Max: 10
Expand Down Expand Up @@ -57,7 +60,7 @@ Style/CommentAnnotation:
Style/Documentation:
Enabled: false

Style/FileName:
Naming/FileName:
Enabled: false

Style/GuardClause:
Expand Down Expand Up @@ -114,13 +117,13 @@ Style/AsciiComments:
Style/EmptyMethod:
EnforcedStyle: expanded

Style/VariableNumber:
Naming/VariableNumber:
Enabled: false

Style/PredicateName:
Naming/PredicateName:
Enabled: false

Style/AccessorMethodName:
Naming/AccessorMethodName:
Enabled: false

Style/YodaCondition:
Expand All @@ -135,5 +138,8 @@ Style/MultipleComparison:
Style/StructInheritance:
Enabled: false

Style/NonNilCheck:
Enabled: false

Performance/RedundantBlockCall:
Enabled: false
1 change: 0 additions & 1 deletion lib/mato/timeout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def initialize(filter, timeout:, on_timeout:)
unless on_timeout
raise ArgumentError, "Missing on_timeout callback"
end

end

def call(content)
Expand Down

0 comments on commit f8bf117

Please sign in to comment.