cattr-app/frontend-application

View on GitHub

Showing 4,835 of 4,835 total issues

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

File extensions are not allowed
Open

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

Clean Import Paths

Rule clean-import-paths will enforce whether or not @import paths should have leading underscores and/or filename extensions.

Options

  • leading-underscore: true/false (defaults to false)
  • filename-extension: true/false (defaults to false)

Examples

leading-underscore

When leading-underscore: false, the following are allowed. When leading-underscore: true, the following are disallowed:

@import 'foo';
@import 'bar/foo';

When leading-underscore: true, the following are allowed. When leading-underscore: false, the following are disallowed:

@import '_foo';
@import '_bar/foo';

filename-extension

When filename-extension: false, the following are allowed. When filename-extension: true, the following are disallowed:

@import 'foo';
@import 'bar/foo';

When filename-extension: true, the following are allowed. When filename-extension: false, the following are disallowed:

@import 'foo.scss';
@import 'bar/foo.scss';

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

Strings must use single quotes
Open

@import "includes/crud";
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";
}

Use // comments everywhere
Open

/** first import the vendor css to be able to overwrite them **/
Severity: Minor
Found in app/core/sass/app.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

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

    .at-collapse__header {

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

    &__inner {

Properties should be ordered border, font-size, line-height, margin, padding
Open

    margin: 0;

Properties should be ordered color, font-size, line-height, padding
Open

    padding: 6px 12px;

0px should be written without units as 0
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 #FFFFFF should be written as #FFF
Open

    background: #FFFFFF;
Severity: Minor
Found in app/core/sass/includes/core.scss by scss-lint

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

  border-bottom: 1px dashed #3f536e;
Severity: Minor
Found in app/core/sass/includes/core.scss by scss-lint

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

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

No space allowed before :
Open

$layout-01                  : 1rem;

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-04                  : 3rem;

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/variables";
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";
}

Prefer single quoted strings
Open

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

Strings must use single quotes
Open

@import "includes/core";
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";
}

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

@import './collapse.scss';
Severity
Category
Status
Source
Language