Skip to content

Commit

Permalink
fix: always mark original node prop, also for shorthands
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed May 19, 2020
1 parent 05255fb commit 9e4fd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const ruleFunction = (properties, options, context = {}) => (root, result) => {
node,
line: start.line,
column: start.column + nodeProp.length + raws.between.length,
message: messages.expected(types, value, prop, message),
message: messages.expected(types, value, nodeProp, message),
})
}
}
Expand Down

0 comments on commit 9e4fd98

Please sign in to comment.