Showing 4,835 of 4,835 total issues
No space allowed before :
Open
Open
$spacing-04 : 0.75rem;
- Read upRead up
- Exclude checks
Space Before Colon
Rule space-before-colon
will enforce whether or not a space should be included before a colon (:
).
Options
-
include
:true
/false
(defaults tofalse
)
Examples
When include: false
, the following are allowed. When include: true
, the following are disallowed:
.foo {
content: 'bar';
}
When include: true
, the following are allowed. When include: false
, the following are disallowed:
.foo {
content :'bar';
}
Prefer single quoted strings Open
Open
@import "includes/tasks";
- Exclude checks
Domains in URLs are disallowed Open
Open
@import url('https://fonts.googleapis.com/css?family=Nunito&display=swap&subset=cyrillic');
- Read upRead up
- Exclude checks
No Url Domains
Rule no-url-domains
will enforce that domains are not used within urls.
Examples
When enabled, the following are allowed:
.foo {
background-image: url('/img/bar.png');
}
.foo {
background-image: url('img/bar.png');
}
.foo {
background-image: url('bar.png');
}
When enabled, the following are disallowed:
.foo {
background-image: url('https://foo.com/img/bar.png');
}
.foo {
background-image: url('http://foo.com/img/bar.png');
}
.foo {
background-image: url('//foo.com/img/bar.png');
}
Imported partial ./progress.scss
should be written as ./progress
Open
Open
@import './progress.scss';
- Exclude checks
Strings must use single quotes Open
Open
@import "includes/tasks";
- Read upRead up
- Exclude checks
Quotes
Rule quotes
will enforce whether single quotes (''
) or double quotes (""
) should be used for all strings.
Options
-
style
:single
/double
(defaults tosingle
)
Examples
When style: single
, the following are allowed. When style: double
, the following are disallowed:
.foo {
content: 'bar';
}
When style: double
, the following are allowed. When style: single
, the following are disallowed:
.foo {
content: "bar";
}
Color #EEEEF5
should be written as #eeeef5
Open
Open
border: 1px solid #EEEEF5;
- Exclude checks
Prefer single quoted strings Open
Open
@import "vendor/at-ui/index";
- Exclude checks
Color literals like #888
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #888;
- Exclude checks
Properties should be ordered font-size, font-weight Open
Open
font-weight: 600;
- Exclude checks
Selector crud__item-view
should be written in lowercase with hyphens Open
Open
.crud__content.crud__item-view {
- Exclude checks
Imported partial ./select.scss
should be written as ./select
Open
Open
@import './select.scss';
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, h1, .h1, .h2, .h3, .h4, .h5, .h6 {
- Exclude checks
0.1
should be written without a leading zero as .1
Open
Open
box-shadow: 0px 0px 10px rgba(63, 51, 86, 0.1);
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
h1, h2, h3, h4, h5, h6, h1, .h1, .h2, .h3, .h4, .h5, .h6 {
- Exclude checks
Merge rule &__selected
with rule on line 11 Open
Open
&__selected {
- Exclude checks
border: 0
is preferred over border: none
Open
Open
border: none;
- Exclude checks
Properties should be ordered color, font-size, font-weight, margin-bottom Open
Open
font-size: 30px;
- Exclude checks
Color #FFFFFF
should be written as #FFF
Open
Open
background: #FFFFFF;
- Exclude checks
Color #FFFFFF
should be written as #ffffff
Open
Open
background: #FFFFFF;
- Exclude checks
Color literals like #FFFFFF
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background: #FFFFFF;
- Exclude checks