Showing 4,835 of 4,835 total issues
Don't include leading zeros on numbers Open
Open
$vs-dropdown-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !default;
- Read upRead up
- Exclude checks
Leading Zero
Rule leading-zero
will enforce whether or not decimal numbers should include a leading zero.
Options
-
include
:true
/false
(defaults tofalse
)
Examples
When include: false
, the following are allowed. When include: true
, the following are disallowed:
.foo {
font-size: .5em;
}
When include: true
, the following are allowed. When include: false
, the following are disallowed:
.foo {
font-size: 0.5em;
}
Strings must use single quotes Open
Open
@import "includes/typo";
- 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";
}
Selector at-collapse__header
should be written in lowercase with hyphens Open
Open
.at-collapse__header {
- Exclude checks
Line should be indented 2 spaces, but was indented 4 spaces Open
Open
margin-right: 0;
- Exclude checks
!important should not be used Open
Open
border: 1px solid $border-color-base !important;
- Exclude checks
0.9
should be written without a leading zero as .9
Open
Open
font-size: 0.9rem;
- Exclude checks
Properties should be ordered border-bottom, cursor, text-decoration Open
Open
text-decoration: none;
- Exclude checks
Declaration should be terminated by a semicolon Open
Open
flex-flow: row nowrap
- Exclude checks
! should be preceded by a space, and should not be followed by a space Open
Open
color: $blue-900!important;
- Exclude checks
Properties should be ordered text-overflow, white-space Open
Open
white-space: pre;
- Exclude checks
Properties should be ordered color, font-family Open
Open
font-family: $heading-font-family;
- Exclude checks
Properties should be ordered font-size, font-weight, line-height Open
Open
font-weight: bold;
- Exclude checks
TODO found Open
Open
// dk: 'Danish', TODO Currently disabled because we dont have DK translations
- Exclude checks
HACK found Open
Open
// HACK: The native history is used because changing
- Exclude checks
FIXME found Open
Open
// FIXME: on first run companyData.timezone is undefined
- Exclude checks