Skip to content

Commit 0ae7f54

Browse files
committed
fix: provide endIndex in media-prefers-reduced-motion report
1 parent 9083eb0 commit 0ae7f54

File tree

1 file changed

+1
-0
lines changed
  • src/rules/media-prefers-reduced-motion

1 file changed

+1
-0
lines changed

src/rules/media-prefers-reduced-motion/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ export default function mediaPrefersReducedMotion(actual, _, context) {
194194
if (!isAccepted) {
195195
report({
196196
index: node.lastEach,
197+
endIndex: node.lastEach,
197198
message: messages.expected(selector),
198199
node,
199200
ruleName,

0 commit comments

Comments
 (0)