hpi-schuelerklub/workshop-portal

View on GitHub

Showing 208 of 208 total issues

Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Open

if params[:search]
Severity: Minor
Found in app/controllers/users_controller.rb by rubocop

Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Open

if custom_image.filename.present? && errors[:custom_image].empty?
Severity: Minor
Found in app/models/event.rb by rubocop

Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Open

if participant2.agreement_letter_for_event?(self)
Severity: Minor
Found in app/models/event.rb by rubocop

Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Open

if params[:create].present? || params[:update_and_publish].present?

Standard property 'transform' should come after vendor-prefixed property '-ms-transform'.
Open

-ms-transform: rotate(-5deg);

Favor modifier unless usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Open

unless status_change_allowed?
Severity: Minor
Found in app/models/application_letter.rb by rubocop

Favor modifier unless usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Open

unless File.exist?(file_full_path)

%i-literals should be delimited by [ and ].
Open

before_action :set_event, only: %i(show edit update destroy participants
participants_pdf print_applications print_applications_eating_habits badges print_badges)
Severity
Category
Status
Source
Language