Skip to content

Initial Rubocop implementation #2

Initial Rubocop implementation

Initial Rubocop implementation #2

Triggered via pull request April 30, 2024 02:55
Status Failure
Total duration 27s
Artifacts

.rubocop.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
rubocop: spec/jira/resource/attachment_spec.rb#L5
RSpec/DescribedClass: Use `described_class` instead of `JIRA::Resource::Attachment`.
rubocop: spec/jira/resource/attachment_spec.rb#L38
RSpec/DescribedClass: Use `described_class` instead of `JIRA::Resource::Attachment`.
rubocop: spec/jira/resource/attachment_spec.rb#L67
RSpec/EmptyLineAfterFinalLet: Add an empty line after the last `let`.
rubocop: spec/jira/resource/attachment_spec.rb#L68
RSpec/LeadingSubject: Declare `subject` above any other `let` declarations.
rubocop: spec/jira/resource/attachment_spec.rb#L69
RSpec/DescribedClass: Use `described_class` instead of `JIRA::Resource::Attachment`.
rubocop: spec/jira/resource/attachment_spec.rb#L76
RSpec/HookArgument: Omit the default `:each` argument for RSpec hooks.
rubocop: spec/jira/resource/attachment_spec.rb#L107
Lint/SymbolConversion: Unnecessary symbol conversion; use `id:` instead.
rubocop: spec/jira/resource/attachment_spec.rb#L107
Style/QuotedSymbols: Prefer single-quoted symbols when you don't need string interpolation or special symbols.
rubocop: spec/jira/resource/attachment_spec.rb#L108
Lint/SymbolConversion: Unnecessary symbol conversion; use `self:` instead.
rubocop: spec/jira/resource/attachment_spec.rb#L108
Style/QuotedSymbols: Prefer single-quoted symbols when you don't need string interpolation or special symbols.