openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/shared/icons.scss

Summary

Maintainability
Test Coverage

Declaration should not have a space before the terminating semicolon
Open

.icon-credit:before   { @extend .icon-ok, :before ;      }

Begin pseudo elements with double colons: ::
Open

.icon-resume:before   { @extend .icon-refresh, :before; }

Avoid comma sequences in @extend directives; prefer single placeholder selectors (e.g. %some-placeholder)
Open

.icon-email:before    { @extend .icon-envelope, :before; }

Selector icon_link should be written in lowercase with hyphens
Open

  &.button, &.icon_link {

Begin pseudo elements with double colons: ::
Open

.icon-cancel:before,

Opening curly brace { should be preceded by one space
Open

.icon-email:before    { @extend .icon-envelope, :before; }

Begin pseudo elements with double colons: ::
Open

.icon-resend_authorization_email:before    { @extend .icon-envelope, :before; }

Avoid comma sequences in @extend directives; prefer single placeholder selectors (e.g. %some-placeholder)
Open

.icon-resume:before   { @extend .icon-refresh, :before; }

Avoid comma sequences in @extend directives; prefer single placeholder selectors (e.g. %some-placeholder)
Open

.icon-void:before     { @extend .icon-remove, :before;   }

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

  &.button, &.icon_link {

Selector icon-resend_authorization_email should be written in lowercase with hyphens
Open

.icon-resend_authorization_email:before    { @extend .icon-envelope, :before; }

Rule declaration should be followed by an empty line
Open

.icon-capture_and_complete_order  { @extend .icon-ok }

Opening curly brace { should be preceded by one space
Open

.icon-resume:before   { @extend .icon-refresh, :before; }

Begin pseudo elements with double colons: ::
Open

.icon-credit:before   { @extend .icon-ok, :before ;      }

Opening curly brace { should be preceded by one space
Open

.icon-resend_authorization_email:before    { @extend .icon-envelope, :before; }

Opening curly brace { should be preceded by one space
Open

.icon-void:before     { @extend .icon-remove, :before;   }

Declaration should be terminated by a semicolon
Open

.icon-capture_and_complete_order  { @extend .icon-ok }

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

[class^="icon-"], [class*=" icon-"] {

Begin pseudo elements with double colons: ::
Open

  &:before {

Opening curly brace { should be preceded by one space
Open

.icon-capture_and_complete_order  { @extend .icon-ok }

Begin pseudo elements with double colons: ::
Open

    &:before {

Begin pseudo elements with double colons: ::
Open

.icon-cancel:before,

Begin pseudo elements with double colons: ::
Open

.icon-email:before    { @extend .icon-envelope, :before; }

Avoid comma sequences in @extend directives; prefer single placeholder selectors (e.g. %some-placeholder)
Open

.icon-resend_authorization_email:before    { @extend .icon-envelope, :before; }

Prefer using placeholder selectors (e.g. %some-placeholder) with @extend
Open

.icon-capture_and_complete_order  { @extend .icon-ok }

Selector icon-capture_and_complete_order should be written in lowercase with hyphens
Open

.icon-capture,

Opening curly brace { should be preceded by one space
Open

.icon-credit:before   { @extend .icon-ok, :before ;      }

Avoid comma sequences in @extend directives; prefer single placeholder selectors (e.g. %some-placeholder)
Open

.icon-credit:before   { @extend .icon-ok, :before ;      }

There are no issues that match your filters.

Category
Status