cattr-app/frontend-application

View on GitHub

Showing 4,835 of 4,835 total issues

No space allowed before :
Open

$spacing-06                 : 1.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/components";
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";
}

Properties should be ordered color, font-size, margin-top
Open

    font-size: 14px;

Properties should be ordered padding-bottom, padding-top
Open

  padding-top: 1rem;
Severity: Minor
Found in app/core/sass/includes/core.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

No space allowed before :
Open

$spacing-03                 : 0.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';
}

No space allowed before :
Open

$layout-05                  : 4rem;

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';
}

Prefer single quoted strings
Open

@import "~vue-select/src/scss/vue-select.scss";
Severity: Minor
Found in app/core/sass/app.scss by scss-lint

0px should be written without units as 0
Open

  border-radius: 0px;

border: 0 is preferred over border: none
Open

  border: none;

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

@import './button.scss';

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

@import './list.scss';

Properties should be ordered overflow, padding, text-overflow, white-space
Open

    padding: 8.5px 12px;

Line should be indented 2 spaces, but was indented 4 spaces
Open

    padding-right: 0;

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

    .at-input__original,
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

!important should not be used
Open

        color: $blue-900!important;
Severity: Minor
Found in app/core/sass/includes/menu.scss by scss-lint

! should be preceded by a space, and should not be followed by a space
Open

    color: $grey-400!important;
Severity: Minor
Found in app/core/sass/includes/menu.scss by scss-lint

! should be preceded by a space, and should not be followed by a space
Open

      color: $blue-900!important;
Severity: Minor
Found in app/core/sass/includes/menu.scss by scss-lint

Protocols and domains in URLs are disallowed
Open

@import url('https://fonts.googleapis.com/css?family=Nunito&display=swap&subset=cyrillic');
Severity: Major
Found in app/core/sass/app.scss by sass-lint

No URL Protocols

Rule no-url-protocols will enforce that protocols and domains are not used within urls.

Options

  • allow-protocol-relative-urls: true/false (defaults to false) > This option is scheduled to be deprecated in favour of the no-url-domains rule in sass-lint 2.0.

Examples

allow-protocol-relative-urls

When allow-protocol-relative-urls: false, the following are allowed:

.foo {
  background-image: url('/img/bar.png');
}

.foo {
  background-image: url('img/bar.png');
}

.foo {
  background-image: url('bar.png');
}

When allow-protocol-relative-urls: false, the following are disallowed:

.foo {
  background-image: url('https://foo.com/img/bar.png');
}

.foo {
  background-image: url('http://foo.com/img/bar.png');
}

.foo {
  background-image: url('//foo.com/img/bar.png');
}

When allow-protocol-relative-urls: true, the following are allowed:

.foo {
  background-image: url('//foo.com/img/bar.png');
}

.foo {
  background-image: url('/img/bar.png');
}

.foo {
  background-image: url('img/bar.png');
}

.foo {
  background-image: url('bar.png');
}

When allow-protocol-relative-urls: true, the following are disallowed:

.foo {
  background-image: url('https://foo.com/img/bar.png');
}

.foo {
  background-image: url('http://foo.com/img/bar.png');
}
Severity
Category
Status
Source
Language