Growstuff/growstuff

View on GitHub

Showing 4,022 of 4,059 total issues

The = symbol should have one space separating it from code
Open

%strong=yield :title
Severity: Info
Found in app/views/posts/_form.html.haml by haml-lint

Hash attribute should start with one space after the opening brace
Open

%li.breadcrumb-item.active{"aria-current" => "page"}= @post.subject
Severity: Info
Found in app/views/posts/show.html.haml by haml-lint

The = symbol should have one space separating it from code
Open

%strong=yield :title
Severity: Info
Found in app/views/seeds/_form.html.haml by haml-lint

Hash attribute should end with one space before the closing brace
Open

#modelSeedForm.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", role: "dialog", tabindex: "-1"}

Hash attribute should end with one space before the closing brace
Open

.hide{id: "form--#{model.id}-#{field.to_s}"}

Line is too long. [125/120]
Open

= link_to t('photos.show.planting', planting: planting.to_s, owner: planting.owner.to_s), planting_path(planting)

Classes should be listed before IDs (.modal should precede #modelSeedForm)
Open

#modelSeedForm.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", role: "dialog", tabindex: "-1"}

Hash attribute should start with one space after the opening brace
Open

#modelSeedForm.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", role: "dialog", tabindex: "-1"}

Classes should be listed before IDs (.btn should precede #seed-actions-button)
Open

%a#seed-actions-button.btn.btn-info.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-bs-toggle" => "dropdown", type: "button", href: '#'}

Hash attribute should start with one space after the opening brace
Open

.card{class: seed.quantity.present? ? '' : 'text-muted'}

Hash attribute should end with one space before the closing brace
Open

%a.editable{"data-form" => "#form--#{model.id}-#{field.to_s}", "data-display": display_field, href: "#", name: "#form--#{model.id}-#{field.to_s}"}

Line is too long. [121/120]
Open

= link_to t('photos.show.harvest', crop: harvest.crop.name, owner: harvest.owner.to_s), harvest_path(harvest)

Line is too long. [140/120]
Open

= f.select(:organic, Seed::ORGANIC_VALUES, {label: 'Organic?', wrapper: { class: 'required'}, required: true}, default: 'unknown')
Severity: Info
Found in app/views/seeds/_form.html.haml by haml-lint

Hash attribute should end with one space before the closing brace
Open

%a.btn{"data-bs-target" => "#modelSeedForm", "data-bs-toggle" => "modal", href: ""}

Hash attribute should end with one space before the closing brace
Open

%button#post-edit-button.btn.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-bs-toggle" => "dropdown", :type => "button"} Actions

Hash attribute should end with one space before the closing brace
Open

.btn-group.d-grid.flex-column{"aria-label" => "trade to", role: "group"}

Hash attribute should start with one space after the opening brace
Open

%a.editable-date#description{"data-field" => "#date--#{model.id}-#{field.to_s}",

Hash attribute should start with one space after the opening brace
Open

%a.editable{"data-form" => "#form--#{model.id}-#{field.to_s}", "data-display": display_field, href: "#", name: "#form--#{model.id}-#{field.to_s}"}

Hash attribute should start with one space after the opening brace
Open

.list-group-item.list-group-item-action.flex-column.align-items-start{:href => "#!"}

Line is too long. [162/120]
Open

%button#post-edit-button.btn.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-bs-toggle" => "dropdown", :type => "button"} Actions
Severity
Category
Status
Source
Language