cattr-app/frontend-application

View on GitHub

Showing 4,835 of 4,835 total issues

Unnecessary parent selector (&)
Open

  & .at-select__input {

Color literals like rgba(63, 51, 86, 0.1) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    box-shadow: 0px 0px 10px rgba(63, 51, 86, 0.1);

Selector at-menu__submenu--active should be written in lowercase with hyphens
Open

    &:hover,
Severity: Minor
Found in app/core/sass/includes/menu.scss by scss-lint

Properties should be ordered font-size, font-weight, line-height
Open

  font-weight: 600;
Severity: Minor
Found in app/core/sass/includes/typo.scss by scss-lint

Properties should be ordered font-size, font-weight, line-height
Open

  font-weight: bold;
Severity: Minor
Found in app/core/sass/includes/typo.scss by scss-lint

Don't include leading zeros on numbers
Open

$spacing-03                 : 0.5rem;

Leading Zero

Rule leading-zero will enforce whether or not decimal numbers should include a leading zero.

Options

  • include: true/false (defaults to false)

Examples

When include: false, the following are allowed. When include: true, the following are disallowed:

.foo {
  font-size: .5em;
}

When include: true, the following are allowed. When include: false, the following are disallowed:

.foo {
  font-size: 0.5em;
}

Don't include leading zeros on numbers
Open

$spacing-04                 : 0.75rem;

Leading Zero

Rule leading-zero will enforce whether or not decimal numbers should include a leading zero.

Options

  • include: true/false (defaults to false)

Examples

When include: false, the following are allowed. When include: true, the following are disallowed:

.foo {
  font-size: .5em;
}

When include: true, the following are allowed. When include: false, the following are disallowed:

.foo {
  font-size: 0.5em;
}

No space allowed before :
Open

$spacing-08                 : 2.5rem;

Space Before Colon

Rule space-before-colon will enforce whether or not a space should be included before a colon (:).

Options

  • include: true/false (defaults to false)

Examples

When include: false, the following are allowed. When include: true, the following are disallowed:

.foo {
  content: 'bar';
}

When include: true, the following are allowed. When include: false, the following are disallowed:

.foo {
  content :'bar';
}

Strings must use single quotes
Open

@import "includes/menu";
Severity: Major
Found in app/core/sass/app.scss by sass-lint

Quotes

Rule quotes will enforce whether single quotes ('') or double quotes ("") should be used for all strings.

Options

  • style: single/double (defaults to single)

Examples

When style: single, the following are allowed. When style: double, the following are disallowed:

.foo {
  content: 'bar';
}

When style: double, the following are allowed. When style: single, the following are disallowed:

.foo {
  content: "bar";
}

0.9 should be written without a leading zero as .9
Open

    font-size: 0.9rem;

Selector at-collapse__content should be written in lowercase with hyphens
Open

  .at-collapse__content .at-collapse__content {

Imported partial ./textarea.scss should be written as ./textarea
Open

@import './textarea.scss';

Imported partial ./table.scss should be written as ./table
Open

@import './table.scss';

0px should be written without units as 0
Open

    box-shadow: 0px 0px 10px rgba(63, 51, 86, 0.1);

Properties should be ordered margin, overflow, position, text-overflow, white-space
Open

    position: relative;

0.9 should be written without a leading zero as .9
Open

    font-size: 0.9rem;

Color literals like rgba(63, 51, 86, 0.05) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  box-shadow: 0px 0px 100px rgba(63, 51, 86, 0.05);
Severity: Minor
Found in app/core/sass/includes/core.scss by scss-lint

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

    border: 1px solid #EEEEF5;
Severity: Minor
Found in app/core/sass/includes/core.scss by scss-lint

Nesting should be no greater than 3, but was 4
Open

      &--inactive {
Severity: Minor
Found in app/core/sass/includes/tasks.scss by scss-lint

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

h1, h2, h3, h4, h5, h6, h1, .h1, .h2, .h3, .h4, .h5, .h6 {
Severity: Minor
Found in app/core/sass/includes/typo.scss by scss-lint
Severity
Category
Status
Source
Language