Skip to content

Commit

Permalink
code review 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouvedia committed Apr 25, 2024
1 parent 28f89ef commit ea57202
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/rules/value-no-vendor-prefix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,22 @@ The following patterns are _not_ considered problems:

<!-- prettier-ignore -->
```css
cursor: -webkit-grab;
a { cursor: -webkit-grab; }
```

<!-- prettier-ignore -->
```css
.foo { list-style-type: -moz-hangul; }
a { list-style-type: -moz-hangul; }
```

<!-- prettier-ignore -->
```css
.foo { list-style-type: -moz-hangul-consonant; }
a { list-style-type: -moz-hangul-consonant; }
```

<!-- prettier-ignore -->
```css
.foo { -webkit-appearance: -apple-pay-button; }
a { -webkit-appearance: -apple-pay-button; }
```

> [!WARNING]
Expand Down
8 changes: 4 additions & 4 deletions lib/rules/value-no-vendor-prefix/__tests__/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,16 @@ testRule({

accept: [
{
code: 'cursor: -webkit-grab;',
code: 'a { cursor: -webkit-grab; }',
},
{
code: '.foo { list-style-type: -moz-hangul-consonant; }',
code: 'a { list-style-type: -moz-hangul-consonant; }',
},
{
code: '.foo { background: -webkit-linear-gradient(bottom, #000, #fff); }',
code: 'a { background: -webkit-linear-gradient(bottom, #000, #fff); }',
},
{
code: '.foo { outline-color: -moz-use-text-color; }',
code: 'a { outline-color: -moz-use-text-color; }',
description: 'RegExp: exact match',
},
],
Expand Down

0 comments on commit ea57202

Please sign in to comment.