comm-network/mastodon

View on GitHub

Showing 1,818 of 1,818 total issues

Space expected after :
Open

  font-weight:bold;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

Space expected after :
Open

  margin-top:-15px;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

No unit allowed for values of 0
Open

  border-radius:0px;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Zero Unit

Rule zero-unit will enforce whether or not values of 0 used for length should be unitless.

Options

  • include: true/false (defaults to false)

Examples

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

.foo {
  margin: 0;
}

.bar {
  padding: 5px 0 0;
}

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

.foo {
  margin: 0px;
}

.bar {
  padding: 5px 0px 0px;
}

No unit allowed for values of 0
Open

  box-shadow: inset -1px 0px 0px #000000,
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Zero Unit

Rule zero-unit will enforce whether or not values of 0 used for length should be unitless.

Options

  • include: true/false (defaults to false)

Examples

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

.foo {
  margin: 0;
}

.bar {
  padding: 5px 0 0;
}

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

.foo {
  margin: 0px;
}

.bar {
  padding: 5px 0px 0px;
}

Space expected after :
Open

  position:relative;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

Space expected after :
Open

  bottom:15px;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

No unit allowed for values of 0
Open

  background-position: 4px 20px, 0px 0px;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Zero Unit

Rule zero-unit will enforce whether or not values of 0 used for length should be unitless.

Options

  • include: true/false (defaults to false)

Examples

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

.foo {
  margin: 0;
}

.bar {
  padding: 5px 0 0;
}

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

.foo {
  margin: 0px;
}

.bar {
  padding: 5px 0px 0px;
}

Space expected after :
Open

  border-top-width:0px;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

Space expected after :
Open

  color:white;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

Mixins should come before declarations
Open

  @include win95-border-outset();
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Mixins Before Declarations

Rule mixins-before-declarations will enforce that mixins should be written before declarations in a ruleset.

Options

  • exclude: ['breakpoint', 'mq'] (array of mixin names to be excluded from this rule)

Examples

When enabled, the following are allowed:

.foo {
  @include bar;
  content: 'baz';

  @include breakpoint(500px) {
    content: 'qux';
  }

  @include mq(500px) {
    content: 'qux';
  }
}

When enabled, the following are disallowed:

.foo {
  content: 'baz';
  @include baz;
}

Space expected between blocks
Open

}
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Empty Line Between Blocks

Rule empty-line-between-blocks will enforce whether or not nested blocks should include a space between the last non-comment declaration or not.

Options

  • include: true/false (defaults to true)
  • allow-single-line-rulesets: true/false (defaults to true)

Examples

include

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

.foo {
  content: 'foo';

  .bar {
    content: 'bar';

    // Waldo
    &--baz {
      content: 'baz';
    }
  }
}

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

.foo {
  content: 'foo';
  .bar {
    content: 'bar';
    // Waldo
    &--baz {
      content: 'baz';
    }
  }
}

allow-single-line-rulesets

When allow-single-line-rulesets: true, the following are allowed. When allow-single-line-rulesets: false, the following are disallowed:

.foo { content: 'foo'; }
.bar { content: 'bar'; }
.baz { content: 'baz'; }

Space expected after :
Open

  color:black;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

Whitespace required before !important
Open

  line-height: 17px!important;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space Before Bang

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar' !important;
}

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

.foo {
  content: 'bar'!important;
}

Color 'black' should be written in its hexadecimal form #000000
Open

  color:black;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Color Keyword

Rule no-color-keywords will enforce the use of hexadecimal color values rather than literals.

Examples

When enabled the following are allowed:

$new-red: #ff0000;

.foo {
  color: #ff0000;
}

When enabled the following are disallowed:

$new-red: red;

.foo {
  color: red;
}

Selectors must be placed on new lines
Open

.setting-meta__label, .setting-toggle__label {
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Single Line Per Selector

Rule single-line-per-selector will enforce whether selectors should be placed on a new line.

Examples

When enabled, the following are allowed:

.foo,
.bar {
  content: 'baz';
}

When enabled, the following are disallowed:

.foo, .bar {
  content: 'baz';
}

Space expected after :
Open

  border-radius:0px;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}

Color 'white' should be written in its hexadecimal form #ffffff
Open

  background-color:white;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Color Keyword

Rule no-color-keywords will enforce the use of hexadecimal color values rather than literals.

Examples

When enabled the following are allowed:

$new-red: #ff0000;

.foo {
  color: #ff0000;
}

When enabled the following are disallowed:

$new-red: red;

.foo {
  color: red;
}

Color 'black' should be written in its hexadecimal form #000000
Open

  color:black;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Color Keyword

Rule no-color-keywords will enforce the use of hexadecimal color values rather than literals.

Examples

When enabled the following are allowed:

$new-red: #ff0000;

.foo {
  color: #ff0000;
}

When enabled the following are disallowed:

$new-red: red;

.foo {
  color: red;
}

Color 'black' should be written in its hexadecimal form #000000
Open

  color: black;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Color Keyword

Rule no-color-keywords will enforce the use of hexadecimal color values rather than literals.

Examples

When enabled the following are allowed:

$new-red: #ff0000;

.foo {
  color: #ff0000;
}

When enabled the following are disallowed:

$new-red: red;

.foo {
  color: red;
}

Space expected after :
Open

  padding-left:4px;
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Space After Colon

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

Options

  • include: true/false (defaults to true)

Examples

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

.foo {
  content: 'bar';
}

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

.foo {
  content:'bar';
}
Severity
Category
Status
Source
Language