ServiceInnovationLab/pancake-backend

View on GitHub

Showing 308 of 313 total issues

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

= f.submit "LOG IN", class: "login-button"

Line is too long. [127/120]
Open

= link_to admin_council_path(council), method: :delete, data: { confirm: 'Are you sure?' }, class: 'pure-button' do

Line is too long. [121/120]
Open

= render 'admin/rebate_forms/witness', signature: rebate_form.signatures.witness.last, council: rebate_form.council

= "..." should be rewritten as ...
Open

= "Partner other income - #{key.titleize}"

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

= signature.name.presence || "no name"

Style/UnneededCondition: Use double pipes || instead.
Open

- if @user.name

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

= f.password_field :password, autocomplete: "current-password", class: "login-input"

TODO found
Open

# TODO: this is the council role from factorybot. Needs some tidy up.
Severity
Category
Status
Source
Language