Skip to content

Commit

Permalink
Fix some safe offenses in production code
Browse files Browse the repository at this point in the history
- Layout/DotPosition
- Layout/HashAlignment
- Lint/AmbiguousOperator
- Lint/RedundantSplatExpansion
- Lint/SymbolConversion
- Lint/UnusedBlockArgument
- Lint/UnusedMethodArgument
- Performance/RedundantBlockCall
- Performance/RegexpMatch
- Performance/StringIdentifierArgument
- Style/BlockDelimiters
- Style/ClassCheck
- Style/ColonMethodCall
- Style/CommentAnnotation
- Style/EachWithObject
- Style/EvalWithLocation
- Style/Lambda
- Style/MethodDefParentheses
- Style/PercentLiteralDelimiters
- Style/RaiseArgs
- Style/RedundantException
- Style/RedundantParentheses
- Style/RedundantReturn
- Style/RedundantSelf
- Style/RegexpLiteral
- Style/RescueModifier
- Style/RescueStandardError
- Style/StderrPuts
- Style/StringLiterals
- Style/SymbolArray
- Style/TrailingCommaInArrayLiteral
- Style/TrailingCommaInHashLiteral
- Style/TrivialAccessors

Also:
- Use squiggly heredocs
- Improve documentation
  • Loading branch information
tagliala authored Jan 21, 2024
1 parent 1658598 commit 65ce5da
Show file tree
Hide file tree
Showing 24 changed files with 160 additions and 409 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ RSpec/ExampleLength:

RSpec/MultipleExpectations:
Enabled: false

Style/ArgumentsForwarding:
Enabled: false
249 changes: 1 addition & 248 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 65ce5da

Please sign in to comment.