cattr-app/frontend-application

View on GitHub

Showing 4,835 of 4,835 total issues

Don't include leading zeros on numbers
Open

$vs-dropdown-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !default;

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

Strings must use single quotes
Open

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

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

    margin-right: 0;

!important should not be used
Open

    border: 1px solid $border-color-base !important;

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

    font-size: 0.9rem;

Properties should be ordered border-bottom, cursor, text-decoration
Open

  text-decoration: none;
Severity: Minor
Found in app/core/sass/includes/core.scss by scss-lint

Declaration should be terminated by a semicolon
Open

      flex-flow: row nowrap
Severity: Minor
Found in app/core/sass/includes/crud.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

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

      white-space: pre;
Severity: Minor
Found in app/core/sass/includes/tasks.scss by scss-lint

Properties should be ordered color, font-family
Open

  font-family: $heading-font-family;
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

TODO found
Open

        // dk: 'Danish', TODO Currently disabled because we dont have DK translations
Severity: Minor
Found in app/core/store/modules/lang.js by fixme

HACK found
Open

                // HACK: The native history is used because changing
Severity: Minor
Found in app/core/components/Calendar.vue by fixme

FIXME found
Open

            // FIXME: on first run companyData.timezone is undefined
Severity
Category
Status
Source
Language