Update stylelint (#3042)

1. Update `stylelint` dependencies
- As of stylelint v15, we do not need `stylelint-config-prettier`
anymore:
https://github.com/prettier/stylelint-config-prettier/releases/tag/v9.0.5
2. Switch to `stylelint-config-standard`:
`stylelint-prettier/recommended` has not been updated for a long time
and still needs the old `stylelint-config-prettier`
3. Handle new `stylelint` issues
This commit is contained in:
Kristjan ESPERANTO
2023-02-19 21:36:50 +01:00
committed by GitHub
parent bf28e63709
commit b08a4737af
12 changed files with 363 additions and 286 deletions

View File

@@ -1,37 +1,37 @@
.clockGrid {
.clock-grid {
display: inline-flex;
gap: 15px;
}
.clockGrid--left {
.clock-grid-left {
flex-direction: row;
}
.clockGrid--right {
.clock-grid-right {
flex-direction: row-reverse;
}
.clockGrid--top {
.clock-grid-top {
flex-direction: column;
}
.clockGrid--bottom {
.clock-grid-bottom {
flex-direction: column-reverse;
}
.clockCircle {
.clock-circle {
place-self: center;
position: relative;
border-radius: 50%;
background-size: 100%;
}
.clockFace {
.clock-face {
width: 100%;
height: 100%;
}
.clockFace::after {
.clock-face::after {
position: absolute;
top: 50%;
left: 50%;
@@ -44,7 +44,7 @@
display: block;
}
.clockHour {
.clock-hour {
width: 0;
height: 0;
position: absolute;
@@ -57,7 +57,7 @@
border-radius: 3px 0 0 3px;
}
.clockMinute {
.clock-minute {
width: 0;
height: 0;
position: absolute;
@@ -70,7 +70,7 @@
border-radius: 3px 0 0 3px;
}
.clockSecond {
.clock-second {
width: 0;
height: 0;
position: absolute;