Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
jeddy3 and ybiquitous committed Nov 30, 2022
1 parent 4503815 commit 7d3c192
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/rules/media-feature-range-notation/README.md
Expand Up @@ -58,7 +58,7 @@ The following patterns are considered problems:

<!-- prettier-ignore -->
```css
@media (1px <= width >= 2px) {}
@media (1px <= width <= 2px) {}
```

The following patterns are _not_ considered problems:
Expand Down
6 changes: 3 additions & 3 deletions lib/rules/media-feature-range-notation/__tests__/index.js
@@ -1,6 +1,6 @@
'use strict';

const stripIndent = require('common-tags').stripIndent;
const { stripIndent } = require('common-tags');

const { messages, ruleName } = require('..');

Expand Down Expand Up @@ -46,7 +46,7 @@ testRule({
description: 'range type media feature in context notation in media query list',
},
{
code: '@media (1px <= width >= 2px) {}',
code: '@media (1px <= width <= 2px) {}',
description: 'range type media feature in context notation with two values',
},
],
Expand Down Expand Up @@ -165,7 +165,7 @@ testRule({
endColumn: 33,
},
{
code: '@media (1px < width >= 2px) {}',
code: '@media (1px < width <= 2px) {}',
description: 'range type media feature in context notation with two values',
message: messages.expected('prefix'),
line: 1,
Expand Down

0 comments on commit 7d3c192

Please sign in to comment.