Showing 829 of 829 total issues
Use //
comments everywhere Open
Open
/*footer*/
- Exclude checks
Avoid using id selectors Open
Open
#compares, #favorites {
- Exclude checks
0.1
should be written without a leading zero as .1
Open
Open
@include box-shadow(0px 1px 3px rgba(42, 43, 43, 0.1));
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
&:hover, &:active {
- Exclude checks
Properties should be ordered color, font-size, height, line-height, margin-bottom, padding Open
Open
font-size: 1.0em;
- Exclude checks
Prefer single quoted strings Open
Open
@import "globals/mixins";
- Exclude checks
Properties should be ordered color, float, margin-bottom, margin-top Open
Open
float: left;
- Exclude checks
Rule declaration should be preceded by an empty line Open
Open
#user_email, #user_password, #user_name, #user_password_confirmation {
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
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
Open
border-right: 1px solid rgba(0, 0, 0, 0.1);
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Properties should be ordered bottom, min-width, position, right Open
Open
position: absolute;
- Exclude checks
Avoid using id selectors Open
Open
#price {
- Exclude checks
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
Open
-moz-box-shadow: rgba(64, 64, 64, 0.5) 0 2px 5px;
- Exclude checks
Avoid using id selectors Open
Open
#map label {
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
ul li:first-child > a {
- Exclude checks
Missing top-level module documentation comment. Open
Open
module PropertiesHelper
- Read upRead up
- Exclude checks
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
Open
&:hover {
- Exclude checks
1.0
should be written without the mantissa as 1
Open
Open
opacity:1.0;
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
if controller.action_name == "buy" || controller.action_name == "rent"
- Read upRead up
- Exclude checks
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"