Skip to content

Commit

Permalink
fix Lint/Void
Browse files Browse the repository at this point in the history
  • Loading branch information
olbrich committed Sep 2, 2024
1 parent 12e3e45 commit f89abbc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ Lint/BinaryOperatorWithIdenticalOperands:
Exclude:
- 'spec/ruby_units/unit_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
Lint/Void:
Exclude:
- 'lib/ruby_units/definition.rb'

# Offense count: 2
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
Expand Down
1 change: 0 additions & 1 deletion lib/ruby_units/definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def definition=(unit)
@kind = base.kind
@numerator = base.numerator
@denominator = base.denominator
self
end

# is this definition for a prefix?
Expand Down

0 comments on commit f89abbc

Please sign in to comment.