lujanfernaud/prevy

View on GitHub

Showing 1,727 of 1,727 total issues

Selector event-box__event-title should be written in lowercase with hyphens
Open

.event-box__event-title {

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

      background-size: auto auto;

Inconsistent indentation detected.
Open

    def simplified_name_for(field_name)
      field_name.remove("updated").gsub("_", " ")
    end

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Inconsistent indentation detected.
Open

    attr_reader :user, :group, :role

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Inconsistent indentation detected.
Open

    attr_reader :user, :group, :role

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

      subject: "Welcome to Prevy!"
Severity: Minor
Found in app/mailers/support_mailer.rb by rubocop

Checks if uses of quotes match the configured preference.

Example: EnforcedStyle: single_quotes (default)

# bad
"No special symbols"
"No string interpolation"
"Just text"

# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"

Example: EnforcedStyle: double_quotes

# bad
'Just some text'
'No special chars or interpolation'

# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"

!important should not be used
Open

  margin-bottom: 2rem !important;

Avoid vendor prefixes.
Open

  -moz-box-sizing:    border-box;

Color literals like rgba(75, 12, 178, 0.0095) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background: linear-gradient(rgba(75, 12, 178, 0.0095), rgba(75, 12, 178, 0.032));

Color #4B0CB2 should be written as #4b0cb2
Open

$primary-dark: #4B0CB2;

Prefer single quoted strings
Open

@import "vendor/bootstrap-custom";

Prefer single quoted strings
Open

@import "components/box";

Prefer single quoted strings
Open

@import "layout/search-bar";

Prefer single quoted strings
Open

@import "trix/dist/trix";

!important should not be used
Open

  border-radius: 0 !important;

Properties should be ordered border-radius, display, height, margin, position, top, width
Open

  position: relative;

Color #3BB662 should be written as #3bb662
Open

  background: #3BB662;

Shorthand form for property padding should be written more concisely as 0 7px instead of 0 7px 0 7px
Open

  padding: 0 7px 0 7px;

Color white should be written in hexadecimal form as #ffffff
Open

  border-color: rgba(white, .5);

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

  fill: #fff;
Severity
Category
Status
Source
Language