BenMusch/nu-tab

View on GitHub
app/helpers/flashes_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage

Showing 5 of 5 total issues

Missing magic comment # frozen_string_literal: true.
Open

module FlashesHelper
Severity: Minor
Found in app/helpers/flashes_helper.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

flash.to_hash.slice("alert", "error", "notice", "success")
Severity: Minor
Found in app/helpers/flashes_helper.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

flash.to_hash.slice("alert", "error", "notice", "success")
Severity: Minor
Found in app/helpers/flashes_helper.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

flash.to_hash.slice("alert", "error", "notice", "success")
Severity: Minor
Found in app/helpers/flashes_helper.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

flash.to_hash.slice("alert", "error", "notice", "success")
Severity: Minor
Found in app/helpers/flashes_helper.rb by rubocop

There are no issues that match your filters.

Category
Status