Showing 829 of 829 total issues
Expected item on line 49 to appear before line 45. Rule sets should be ordered as follows: @extends
, @includes
without @content
, properties, @includes
with @content
, nested rule sets Open
Open
@include box-sizing(border-box);
- Exclude checks
Rule declaration should be followed by an empty line Open
Open
}
- Exclude checks
Unnecessary spacing detected. Open
Open
notice: 'You can compare at most 3 listings. Please remove a listing from compare list'
- Read upRead up
- Exclude checks
This cop checks for extra/unnecessary whitespace.
Example:
# good if AllowForAlignment is true
name = "RuboCop"
# Some comment and an empty line
website += "/bbatsov/rubocop" unless cond
puts "rubocop" if debug
# bad for any configuration
set_app("RuboCop")
website = "https://github.com/bbatsov/rubocop"
Use //
comments everywhere Open
Open
/*text-align: center;*/
- Exclude checks
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem growl
should appear before guard-rspec
. Open
Open
gem 'growl', '~> 1.0.3'
- Read upRead up
- Exclude checks
Gems should be alphabetically sorted within groups.
Example:
# bad
gem 'rubocop'
gem 'rspec'
# good
gem 'rspec'
gem 'rubocop'
# good
gem 'rubocop'
gem 'rspec'
# good only if TreatCommentsAsGroupSeparators is true
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem binding_of_caller
should appear before bullet
. Open
Open
gem 'binding_of_caller', '~> 0.7.2'
- Read upRead up
- Exclude checks
Gems should be alphabetically sorted within groups.
Example:
# bad
gem 'rubocop'
gem 'rspec'
# good
gem 'rspec'
gem 'rubocop'
# good
gem 'rubocop'
gem 'rspec'
# good only if TreatCommentsAsGroupSeparators is true
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'
Expected 0 spaces after (
instead of
Open
Open
@include background( linear-gradient(white, #f4f4f4));
- Exclude checks
Prefer single quoted strings Open
Open
@import "bootstrap/scaffolding";
- Exclude checks
Prefer single quoted strings Open
Open
@import "bootstrap/tables";
- Exclude checks
Properties should be ordered line-height, list-style Open
Open
list-style: none;
- Exclude checks
Color literals like rgba(255, 255, 255, 0.7)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background: none repeat scroll 0% 0% rgba(255, 255, 255, 0.7);
- Exclude checks
0px
should be written without units as 0
Open
Open
left: 0px;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
.navbar, .navbar-inner, .nav, .navbar-inverse {
- Exclude checks
!important should not be used Open
Open
background: none repeat scroll 0% 0% transparent !important;
- Exclude checks
Prefer single quoted strings Open
Open
@import "compass";
- Exclude checks
Prefer single quoted strings Open
Open
@import "globals/colors";
- 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
@include box-shadow(0px 1px 5px rgba(185, 188, 194, 0.8));
- Exclude checks
Properties should be ordered float, margin, margin-right Open
Open
margin: 7px;
- Exclude checks
0px
should be written without units as 0
Open
Open
margin: 5px 0px 0px 30px;
- Exclude checks