openfoodfoundation/openfoodnetwork

View on GitHub

Showing 5,271 of 5,271 total issues

Begin pseudo elements with double colons: ::
Open

      &:after {

Begin pseudo elements with double colons: ::
Open

      &:after {

Avoid qualifying class selectors with an element.
Open

  td.severity {

Avoid qualifying class selectors with an element.
Open

  table.managers {

Avoid qualifying class selectors with an element.
Open

    i.role {

Expected 0 spaces before ) instead of
Open

$color-action-remove-bg:         very-light($color-error,   5  ) !default;

Name of variable color-ste-requires_authorization-bg should be written in all lowercase letters with hyphens instead of underscores
Open

$color-ste-requires_authorization-bg: $color-notice !default;

Commas in lists should be followed by one space
Open

$states:                      completed,                 complete,                 sold,                 pending,                 awaiting_return,                 returned,                 credit_owed,                 paid,                 shipped,                 balance_due,                 backorder,                 checkout,                 cart,                 address,                 delivery,                 payment,                 confirmation,                 canceled,                 ready,                 void,                 requires_authorization,                 active,                 inactive  !default;

Commas in lists should be followed by one space
Open

$states:                      completed,                 complete,                 sold,                 pending,                 awaiting_return,                 returned,                 credit_owed,                 paid,                 shipped,                 balance_due,                 backorder,                 checkout,                 cart,                 address,                 delivery,                 payment,                 confirmation,                 canceled,                 ready,                 void,                 requires_authorization,                 active,                 inactive  !default;

Imported partial ./mail/all.scss should be written as ./mail/all
Open

@import './mail/all.scss';
Severity: Minor
Found in app/assets/stylesheets/mail.scss by scss-lint

Color literals like #ebebeb should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background-color: #ebebeb;

Selector should have depth of applicability no greater than 3, but was 4
Open

  tbody tr td {

Color literals like #fb3958 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-color: #fb3958 !important;

Each selector in a comma sequence should be on its own single line
Open

h1, h2, h3, h4, h5, h6 {

Color literals like #999 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  color: #999;

Each selector in a comma sequence should be on its own single line
Open

        h1, h2, h3, h4, h5, h6, p {

Use // comments everywhere
Open

/* prevent arrow on selected admin menu item appearing above modal */

Avoid using id selectors
Open

body.modal-open #admin-menu li.selected a::after {

Color literals like white should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    background-color: white;

Imported partial app/webpacker/css/admin/trix.scss should be written as app/webpacker/css/admin/trix
Open

@import "app/webpacker/css/admin/trix.scss";
Severity: Minor
Found in app/webpacker/css/admin/all.scss by scss-lint
Severity
Category
Status
Source
Language