Showing 829 of 829 total issues
Avoid using id selectors Open
Open
#search-query-head span, #search-filter-head span {
- Exclude checks
Avoid using id selectors Open
Open
#copyright {
- Exclude checks
Colon after property should be followed by one space Open
Open
background:#fff;
- Exclude checks
0px
should be written without units as 0
Open
Open
margin: 0px;
- Exclude checks
0.7
should be written without a leading zero as .7
Open
Open
background: none repeat scroll 0% 0% rgba(255, 255, 255, 0.7);
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
a {
- Exclude checks
Avoid using id selectors Open
Open
#logo {
- Exclude checks
Properties should be ordered background-color, color, float, font-size, margin-bottom, opacity, padding, position, right, text-align, top Open
Open
font-size: 0.9em;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Line is too long. [105/80] Open
Open
content_tag(:div, "Found #{ properties.total_count } property listings with this search criteria'",
- Exclude checks
Color literals like rgba(42, 43, 43, 0.9)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-color: rgba(42, 43, 43, 0.9);
- Exclude checks
0.2
should be written without a leading zero as .2
Open
Open
margin-bottom: 0.2em;
- Exclude checks
Properties should be ordered margin-top, padding, width Open
Open
padding: 10px;
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
margin-bottom: 0.5em;
- Exclude checks
0px
should be written without units as 0
Open
Open
padding: 0px 5px;
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Properties should be ordered border-color, border-style, border-width, -moz-box-shadow, -webkit-box-shadow, box-shadow, padding Open
Open
padding: 6px;
- Exclude checks
Line is too long. [84/80] Open
Open
content_tag(:div, "No property listings were found with this search criteria",
- Exclude checks
Color literals like rgb(42, 43, 43)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
border-top: 4px solid rgb(42, 43, 43);
- Exclude checks
Use 2 (not 1) spaces for indentation. Open
Open
current_user.favorites = []
- Read upRead up
- Exclude checks
This cops checks for indentation that doesn't use the specified number of spaces.
See also the IndentationConsistency cop which is the companion to this one.
Example:
# bad
class A
def test
puts 'hello'
end
end
# good
class A
def test
puts 'hello'
end
end
Example: IgnoredPatterns: ['^\s*module']
# bad
module A
class B
def test
puts 'hello'
end
end
end
# good
module A
class B
def test
puts 'hello'
end
end
end