Skip to content

Add ruby 3.4 rspec config. #10

Add ruby 3.4 rspec config.

Add ruby 3.4 rspec config. #10

Triggered via push January 13, 2025 12:00
Status Failure
Total duration 23s
Artifacts

rubocop.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
rubocop: lib/jira/oauth2_client.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: lib/jira/oauth2_client.rb#L2
Layout/LeadingEmptyLines: Unnecessary blank line at the beginning of the source.
rubocop: lib/jira/oauth2_client.rb#L145
Style/GuardClause: Use a guard clause (`return if options.slice(:access_token, :refresh_token).empty?`) instead of wrapping the code inside a conditional expression.
rubocop: lib/jira/oauth2_client.rb#L145
Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`.
rubocop: lib/jira/oauth2_client.rb#L197
Style/AccessModifierDeclarations: `private` should not be inlined in method definitions.
rubocop: lib/jira/oauth2_client.rb#L212
Layout/LeadingCommentSpace: Missing space after `#`.
rubocop: lib/jira/oauth2_client.rb#L217
Style/YodaCondition: Reverse the order of the operands `false == params[:state]`.
rubocop: lib/jira/oauth2_client.rb#L230
Style/HashSyntax: Use the new Ruby 1.9 hash syntax.
rubocop: lib/jira/oauth2_client.rb#L251
Style/RedundantParentheses: Don't use parentheses around a variable.
rubocop: lib/jira/oauth2_client.rb#L258
Style/IfUnlessModifier: Favor modifier `if` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`.
rubocop
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636