comm-network/mastodon

View on GitHub

Showing 1,049 of 1,049 total issues

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

[data-whatinput="mouse"], [data-whatinput="touch"] {
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';
}

Selectors must be placed on new lines
Open

  .status.status-direct, .detailed-status {
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';
}

Color 'blue' should be written in its hexadecimal form #0000ff
Open

  color: blue;
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;
}

Selectors must be placed on new lines
Open

.reply-indicator__content a, .status__content a {
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';
}

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

Pseudo-elements must start with double colons
Open

.search-results__section h5:before {
Severity: Major
Found in app/javascript/styles/win95.scss by sass-lint

Pseudo-element

Rule pseudo-element will enforce that:

  • Pseudo-elements must start with double colons.
  • Pseudo-classes must start with single colon.

Examples

When enabled, the following are allowed:

.foo::before {
  content: "bar";
}

.foo:hover {
  content: "bar";
}

When enabled, the following are disallowed:

.foo:before {
  content: "bar";
}

.foo::hover {
  content: "bar";
}

Parenthesis should be removed.
Open

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

Empty Args

Rule empty-args will enforce whether or not parenthesis should be included if no arguments are defined or used, when declaring or invoking a mixin.

Options

  • include: true/false (defaults to false)

Examples

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

@mixin bar {
  padding: 10px;
}

.bar {
  @include bar;
}

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

@mixin foo() {
  padding: 10px;
}

.foo {
  @include foo();
}

Parenthesis should be removed.
Open

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

Empty Args

Rule empty-args will enforce whether or not parenthesis should be included if no arguments are defined or used, when declaring or invoking a mixin.

Options

  • include: true/false (defaults to false)

Examples

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

@mixin bar {
  padding: 10px;
}

.bar {
  @include bar;
}

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

@mixin foo() {
  padding: 10px;
}

.foo {
  @include foo();
}

No unit allowed for values of 0
Open

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

Mixins should come before declarations
Open

  @include win95-outset-no-highlight();
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;
}

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

    border-bottom-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

.status__action-bar .icon-button, .star-icon i {
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';
}

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

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

No unit allowed for values of 0
Open

    margin: 0px 0px 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;
}

Mixins should come before declarations
Open

      @include win95-tab();
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;
}

Mixins should come before declarations
Open

          @include win95-tab();
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;
}

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

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

No unit allowed for values of 0
Open

  border: 0px solid transparent;
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;
}
Severity
Category
Status
Source
Language