From f1c12406d7f5ccb387c2210d0729413624f3784c Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Mon, 13 May 2024 08:29:28 +0200 Subject: [PATCH] feat: add messages to rule template (#182) * feat: add messages to rule template * Add trailing comma Co-authored-by: Bryan Mishkin <698306+bmish@users.noreply.github.com> --------- Co-authored-by: Bryan Mishkin <698306+bmish@users.noreply.github.com> --- rule/templates/_rule.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rule/templates/_rule.js b/rule/templates/_rule.js index 8ed2150..095d146 100644 --- a/rule/templates/_rule.js +++ b/rule/templates/_rule.js @@ -19,6 +19,7 @@ module.exports = { }, fixable: null, // Or `code` or `whitespace` schema: [], // Add a schema if the rule has options + messages: {}, // Add messageId and message }, create(context) {