Oauth2 #14
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors and 1 warning
|
rubocop:
Gemfile#L19
Bundler/OrderedGems: Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem `byebug` should appear before `rubocop-rspec`.
|
|
rubocop:
lib/jira/oauth2_client.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|
|
rubocop:
lib/jira/oauth2_client.rb#L109
Style/AccessorGrouping: Group together all `attr_reader` attributes.
|
|
rubocop:
lib/jira/oauth2_client.rb#L110
Style/AccessorGrouping: Group together all `attr_reader` attributes.
|
|
rubocop:
lib/jira/oauth2_client.rb#L147
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#L147
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#L159
Layout/EmptyLines: Extra blank line detected.
|
|
rubocop:
lib/jira/oauth2_client.rb#L192
Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body end.
|
|
rubocop:
lib/jira/oauth2_client.rb#L195
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
|
|
rubocop:
lib/jira/oauth2_client.rb#L202
Style/AccessModifierDeclarations: `private` should not be inlined in method definitions.
|
|
rubocop
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|