Set keyframes-name-pattern to <dashed-ident>.
This commit is contained in:
parent
12908f9726
commit
ed81c0c21f
3 changed files with 10 additions and 7 deletions
|
|
@ -5,9 +5,6 @@ rules:
|
||||||
block-no-empty: null
|
block-no-empty: null
|
||||||
declaration-block-no-redundant-longhand-properties: null
|
declaration-block-no-redundant-longhand-properties: null
|
||||||
declaration-empty-line-before: null
|
declaration-empty-line-before: null
|
||||||
hue-degree-notation: number
|
|
||||||
media-feature-range-notation: prefix
|
|
||||||
no-descending-specificity: null
|
|
||||||
comment-empty-line-before:
|
comment-empty-line-before:
|
||||||
- always
|
- always
|
||||||
- except:
|
- except:
|
||||||
|
|
@ -15,6 +12,12 @@ rules:
|
||||||
ignore:
|
ignore:
|
||||||
- stylelint-commands
|
- stylelint-commands
|
||||||
- after-comment
|
- after-comment
|
||||||
|
hue-degree-notation: number
|
||||||
|
keyframes-name-pattern:
|
||||||
|
- "--.+"
|
||||||
|
- message: Keyframe name should be written as <dashed-ident>
|
||||||
|
media-feature-range-notation: prefix
|
||||||
|
no-descending-specificity: null
|
||||||
selector-class-pattern:
|
selector-class-pattern:
|
||||||
- "^[a-z0-9\\-]+$"
|
- "^[a-z0-9\\-]+$"
|
||||||
- message: Selector should be written in lowercase with hyphens (selector-class-pattern)
|
- message: Selector should be written in lowercase with hyphens (selector-class-pattern)
|
||||||
|
|
|
||||||
|
|
@ -166,10 +166,10 @@ article {
|
||||||
}
|
}
|
||||||
|
|
||||||
.flash-item {
|
.flash-item {
|
||||||
animation: flash 500ms ease-in-out 1;
|
animation: --flash 500ms ease-in-out 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes flash {
|
@keyframes --flash {
|
||||||
50% {
|
50% {
|
||||||
border-color: var(--color-warning);
|
border-color: var(--color-warning);
|
||||||
background-color: var(--color-warning-bg);
|
background-color: var(--color-warning-bg);
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&--highlight {
|
&--highlight {
|
||||||
animation: 2s ease-in-out infinite outline-highlight;
|
animation: 2s ease-in-out infinite --outline-highlight;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes outline-highlight {
|
@keyframes --outline-highlight {
|
||||||
50% {
|
50% {
|
||||||
outline-width: .3rem;
|
outline-width: .3rem;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue