Showing 2,522 of 2,522 total issues
Prefer single quoted strings Open
Open
font-url("lato-bold.woff") format("woff"),
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
$spacing: $line-height * 0.5;
- Exclude checks
Prefer single quoted strings Open
Open
font-url("lato-bold.svg#latobold") format("svg");
- Exclude checks
Selector should have depth of applicability no greater than 3, but was 4 Open
Open
.investment-project-info {
- Exclude checks
Prefer single quoted strings Open
Open
@import "consul_custom_overrides";
- Exclude checks
Prefer single quoted strings Open
Open
content: "\f02b";
- Exclude checks
Prefer single quoted strings Open
Open
content: "\f15b";
- Exclude checks
Color literals like #e7eaec
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background: #e7eaec;
- Exclude checks
Prefer single quoted strings Open
Open
content: "\f00b";
- 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
box-shadow: -16px 61px 49px -19px rgba(0, 0, 0, 0.1);
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
img {
- Exclude checks
!important should not be used Open
Open
float: right !important;
- Exclude checks
Nesting should be no greater than 3, but was 4 Open
Open
img {
- Exclude checks
Properties should be ordered color, line-height, text-align Open
Open
text-align: center;
- Exclude checks
Prefer single quoted strings Open
Open
font-url("sourcesanspro-light-webfont.ttf") format("truetype"),
- Exclude checks
Prefer single quoted strings Open
Open
src: font-url("sourcesanspro-regular-webfont.eot?#iefix") format("embedded-opentype"),
- Exclude checks
Prefer single quoted strings Open
Open
font-url("sourcesanspro-regular-webfont.woff2") format("woff2"),
- Exclude checks
Prefer single quoted strings Open
Open
font-family: "Source Sans Pro";
- Exclude checks
Prefer single quoted strings Open
Open
font-family: "Oswald";
- Exclude checks
Specify a :dependent
option. (https://rails.rubystyle.guide#has_many-has_one-dependent-option) Open
Open
has_many :comments, as: :commentable, inverse_of: :commentable
- Read upRead up
- Exclude checks
This cop looks for has_many
or has_one
associations that don't
specify a :dependent
option.
It doesn't register an offense if :through
option was specified.
Example:
# bad
class User < ActiveRecord::Base
has_many :comments
has_one :avatar
end
# good
class User < ActiveRecord::Base
has_many :comments, dependent: :restrict_with_exception
has_one :avatar, dependent: :destroy
has_many :patients, through: :appointments
end