georgebellos/real_estate

View on GitHub

Showing 829 of 829 total issues

Use // comments everywhere
Open

/*footer*/

Avoid using id selectors
Open

#compares, #favorites {

0.1 should be written without a leading zero as .1
Open

    @include box-shadow(0px 1px 3px rgba(42, 43, 43, 0.1));

Each selector in a comma sequence should be on its own single line
Open

      &:hover, &:active {

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

    font-size: 1.0em;

Prefer single quoted strings
Open

@import "globals/mixins";

Properties should be ordered color, float, margin-bottom, margin-top
Open

  float: left;

Rule declaration should be preceded by an empty line
Open

  #user_email, #user_password, #user_name, #user_password_confirmation {

Rule declaration should be followed by an empty line
Open

  }

Color literals like rgba(0, 0, 0, 0.1) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  border-right: 1px solid rgba(0, 0, 0, 0.1);

Rule declaration should be followed by an empty line
Open

  }

Properties should be ordered bottom, min-width, position, right
Open

    position: absolute;

Avoid using id selectors
Open

  #price {

Color literals like rgba(64, 64, 64, 0.5) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    -moz-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;

Avoid using id selectors
Open

  #map label {

Selector should have depth of applicability no greater than 3, but was 4
Open

  ul li:first-child > a {

Missing top-level module documentation comment.
Open

module PropertiesHelper
Severity: Minor
Found in app/helpers/properties_helper.rb by rubocop

This cop checks for missing top-level documentation of classes and modules. Classes with no body are exempt from the check and so are namespace modules - modules that have nothing in their bodies except classes, other modules, or constant definitions.

The documentation requirement is annulled if the class or module has a "#:nodoc:" comment next to it. Likewise, "#:nodoc: all" does the same for all its children.

Example:

# bad
class Person
  # ...
end

# good
# Description/Explanation of Person class
class Person
  # ...
end

Selector should have depth of applicability no greater than 3, but was 4
Open

    &:hover {

1.0 should be written without the mantissa as 1
Open

      opacity:1.0;

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

    if controller.action_name == "buy" || controller.action_name == "rent"
Severity: Minor
Found in app/helpers/properties_helper.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"
Severity
Category
Status
Source
Language