Upgrade Rails to v7.1 & update gems (mostly only minor versions) #2596
linter.yml
on: pull_request
RuboCop (Ruby)
44s
ESLint (JS)
3s
Annotations
10 errors and 1 warning
RuboCop (Ruby):
app/controllers/commontator/comments_controller.rb#L136
Style/RedundantLineContinuation: Redundant line continuation.
|
RuboCop (Ruby):
app/controllers/commontator/comments_controller.rb#L159
Style/RedundantLineContinuation: Redundant line continuation.
|
RuboCop (Ruby):
app/controllers/quizzes_controller.rb#L121
Style/RedundantLineContinuation: Redundant line continuation.
|
RuboCop (Ruby):
app/helpers/media_helper.rb#L150
Style/RedundantParentheses: Don't use parentheses around a logical expression.
|
RuboCop (Ruby):
app/models/medium.rb#L59
Style/CommentAnnotation: Annotation keywords like `TODO` should be all upper case, followed by a colon, and a space, then a note describing the problem.
|
RuboCop (Ruby):
app/models/quiz.rb#L118
Rails/Pluck: Prefer `pluck(:id)` over `map { |v| v[:id] }`.
|
RuboCop (Ruby):
app/models/referral.rb#L36
Style/RedundantParentheses: Don't use parentheses around a logical expression.
|
RuboCop (Ruby):
db/migrate/20201002094500_change_submission_foreign_keys.rb#L18
Lint/SymbolConversion: Unnecessary symbol conversion; use `:"#{relation_name}_id"` instead.
|
RuboCop (Ruby):
db/migrate/20201002094500_change_submission_foreign_keys.rb#L19
Lint/SymbolConversion: Unnecessary symbol conversion; use `:"#{relation_name}_uuid"` instead.
|
RuboCop (Ruby):
db/migrate/20240406222249_add_service_name_to_active_storage_blobs.active_storage.rb#L6
Style/GuardClause: Use a guard clause (`return if column_exists?(:active_storage_blobs, :service_name)`) instead of wrapping the code inside a conditional expression.
|
RuboCop (Ruby):
app/models/submission.rb#L66
Performance/MapCompact: Use `filter_map` instead.
|