Skip to content

Commit

Permalink
Update id-match.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Aug 4, 2017
1 parent f2b6b82 commit 82121c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rules/id-match.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ module.exports = {
*/
function report(node) {
context.report({
node, message: "Identifier '{{name}}' does not match the pattern '{{pattern}}'.", data: {
node,
message: "Identifier '{{name}}' does not match the pattern '{{pattern}}'.",
data: {
name: node.name,
pattern
}
Expand Down

0 comments on commit 82121c2

Please sign in to comment.