Skip to content

Commit

Permalink
テストファイル修正
Browse files Browse the repository at this point in the history
  • Loading branch information
SaekiTominaga committed May 14, 2024
1 parent 7542591 commit 73b0020
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
8 changes: 8 additions & 0 deletions packages/stylelint/__tests__/invalid/avoid-errors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* declaration-property-value-no-unknown */
.declaration-property-value-no-unknown {
inset-block-start: unknown;
}

/* media-feature-name-value-no-unknown */
@media (color: red) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,11 @@
text-align: left;
}

/* declaration-property-value-no-unknown */
.declaration-property-value-no-unknown {
inset-block-start: unknown;
}

/* function-url-no-scheme-relative */
.function-url-no-scheme-relative {
background-image: url("//example.com/file.jpg");
}

/* media-feature-name-value-no-unknown */
@media (color: red) {
}

/* property-disallowed-list */
.property-disallowed-list1 {
top: 0;
Expand Down
12 changes: 12 additions & 0 deletions packages/stylelint/__tests__/valid/avoid-errors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* no-descending-specificity */
.container .no-descending-specificity {
inset-block-start: 10px;
}

.no-descending-specificity {
inset-block-start: 0;
}

/* block-no-empty */
.block-no-empty {
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
}
}

/* block-no-empty */
.block-no-empty {
}

/* color-hex-alpha */
.color-hex-alpha1 {
color: #000;
Expand All @@ -23,10 +19,6 @@
color: #010101;
}

/* custom-property-pattern */
--foo1-1: 1;
--_foo1-1: 1;

/* declaration-property-value-disallowed-list */
.declaration-property-value-disallowed-list {
display: block flow;
Expand All @@ -36,13 +28,9 @@
text-align: start;
}

/* no-descending-specificity */
.container .no-descending-specificity {
inset-block-start: 10px;
}

.no-descending-specificity {
inset-block-start: 0;
/* value-keyword-case */
.value-keyword-case {
fill: currentColor;
}

/* selector-max-universal */
Expand All @@ -52,7 +40,6 @@
.selector-max-universal > * + * {
}

/* value-keyword-case */
.value-keyword-case {
fill: currentColor;
}
/* custom-property-pattern */
--foo1-1: 1;
--_foo1-1: 1;

0 comments on commit 73b0020

Please sign in to comment.