app/assets/stylesheets/provider/_typography.scss
0.5
should be written without a leading zero as .5
Open
Open
$border-width-sm: 0.5 * $border-width;
- Exclude checks
Colon after property should be followed by one space Open
Open
color: $color-base;
- Exclude checks
Property box-sizing
already defined on line 108 Open
Open
box-sizing: border-box;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
& {
- Exclude checks
5/4
should be written with a single space on each side of the operator: 5 / 4
Open
Open
$font-size-lg: $font-size-base * (5/4);
- Exclude checks
7/8
should be written with a single space on each side of the operator: 7 / 8
Open
Open
$font-size-sm: $font-size-base * (7/8);
- Exclude checks
Colon after property should be followed by one space Open
Open
background-color: $background-color-base;
- Exclude checks
0.04
should be written without a leading zero as .04
Open
Open
background-image: linear-gradient(rgba(black, 0.04) 1px, transparent 1px);
- Exclude checks
@else
should be placed on same line as previous curly brace Open
Open
@else {
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
*, *:before, *:after {
- Exclude checks
$line-height-base *1rem
should be written with a single space on each side of the operator: $line-height-base * 1rem
Open
Open
$spacer: $line-height-base *1rem * $multiplier;
- Exclude checks
Unnecessary parent selector (&) Open
Open
& {
- Exclude checks
Color literals like rgba(black, 0.04)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background-image: linear-gradient(rgba(black, 0.04) 1px, transparent 1px);
- Exclude checks
Begin pseudo elements with double colons: ::
Open
Open
*, *:before, *:after {
- Exclude checks
2.0
should be written without the mantissa as 2
Open
Open
$border-width-lg: 2.0 * $border-width;
- Exclude checks
Colon after property should be followed by one space Open
Open
color: $background-color-base;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
*, *:before, *:after {
- Exclude checks
@else
should be placed on same line as previous curly brace Open
Open
@else {
- Exclude checks
Colon after property should be followed by one space Open
Open
font-weight: $font-weight-base;
- Exclude checks
$font-size-base * 5/4
should be written with a single space on each side of the operator: $font-size-base * 5 / 4
Open
Open
$font-size-lg: ($font-size-base * 5/4);
- Exclude checks
1.0
should be written without the mantissa as 1
Open
Open
$border-width-base: 1.0 * $border-width;
- Exclude checks
Colon after property should be followed by one space Open
Open
background-color: $color-base;
- Exclude checks
1/8
should be written with a single space on each side of the operator: 1 / 8
Open
Open
$border-radius-sm: line-height-times(1/8);
- Exclude checks
$font-size-base * 7/8
should be written with a single space on each side of the operator: $font-size-base * 7 / 8
Open
Open
$font-size-sm: ($font-size-base * 7/8);
- Exclude checks
3/3
should be written with a single space on each side of the operator: 3 / 3
Open
Open
$line-height-base: 3/3 * $lineHeight;
- Exclude checks
Colon after property should be followed by one space Open
Open
line-height: $line-height-base;
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
@include fluid-type(font-size, $minScreen, $maxScreen, $minFont, $maxFont);
- Exclude checks
!important should not be used Open
Open
background-color: transparent !important;
- Exclude checks
Each selector in a comma sequence should be on its own single line Open
Open
*, *:before, *:after {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
@return $value / ($value * 0 + 1);
- Exclude checks
7/8
should be written with a single space on each side of the operator: 7 / 8
Open
Open
$caption-font-size: (7/8) * $fontSize;
- Exclude checks
2/3
should be written with a single space on each side of the operator: 2 / 3
Open
Open
$line-height-sm: 2/3 * $lineHeight;
- Exclude checks
Colon after property should be followed by one space Open
Open
font-family: $font-family-base;
- Exclude checks
4/3
should be written with a single space on each side of the operator: 4 / 3
Open
Open
$line-height-lg: 4/3 * $lineHeight;
- Exclude checks
1/8
should be written with a single space on each side of the operator: 1 / 8
Open
Open
$border-radius: line-height-times(1/8);
- Exclude checks
5/4
should be written with a single space on each side of the operator: 5 / 4
Open
Open
$sub-title-font-size: (5/4) * $fontSize;
- Exclude checks
$line-height-base*1rem
should be written with a single space on each side of the operator: $line-height-base * 1rem
Open
Open
background-size: 1px $line-height-base*1rem;
- Exclude checks