openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/components/tom_select.scss

Summary

Maintainability
Test Coverage

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

Merge rule .ts-wrapper.multi with rule on line 1
Open

.ts-wrapper.multi {

Begin pseudo elements with double colons: ::
Open

  &:after {

Merge rule .ts-wrapper.no-search with rule on line 1
Open

.ts-wrapper.no-search {

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

Merge rule .ts-wrapper.single .ts-control with rule on line 1
Open

.ts-wrapper.single .ts-control {

Begin pseudo elements with double colons: ::
Open

  &:after {

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

    @extend .icon-search;

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

Merge rule .ts-dropdown [data-selectable] .highlight with rule on line 33
Open

.ts-dropdown [data-selectable] .highlight {

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

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

.ts-dropdown .create:hover,

Avoid using id selectors
Open

.ts-dropdown .create:hover,

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

Begin pseudo elements with double colons: ::
Open

  &:before {

Color literals like rgba(149, 180, 255, 0.26) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background: rgba(149, 180, 255, 0.26);

Avoid using id selectors
Open

.ts-dropdown .create:hover,

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

Merge rule .ts-wrapper.plugin-remove_button .item .remove with rule on line 1
Open

.ts-wrapper.plugin-remove_button .item .remove {

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

    @extend [class^="icon-"];

Merge rule .ts-control > div with rule on line 6
Open

  .ts-control > div {

Selector plugin-remove_button should be written in lowercase with hyphens
Open

.ts-wrapper.plugin-remove_button .item .remove {

Shorthand form for property border-color should be written more concisely as $white transparent transparent instead of $white transparent transparent transparent
Open

    border-color: $white transparent transparent transparent;

Avoid using id selectors
Open

.ts-dropdown .create:hover,

Avoid using id selectors
Open

.ts-dropdown .create:hover,

Merge rule .ts-wrapper .select-multiple with rule on line 1
Open

.ts-wrapper .select-multiple {

Merge rule .ts-wrapper.single .ts-control with rule on line 1
Open

.ts-wrapper.single .ts-control {

Avoid qualifying class selectors with an element.
Open

.ts-dropdown .create:hover,

border: 0 is preferred over border: none
Open

    border: none;

Merge rule .ts-wrapper.dropdown-active.primary .ts-control with rule on line 1
Open

.ts-wrapper.dropdown-active.primary .ts-control {

Shorthand form for property border-color should be written more concisely as transparent transparent $white instead of transparent transparent $white transparent
Open

    border-color: transparent transparent $white transparent;

There are no issues that match your filters.

Category
Status