Skip to content

Commit

Permalink
feat: add messages to rule template (#182)
Browse files Browse the repository at this point in the history
* feat: add messages to rule template

* Add trailing comma

Co-authored-by: Bryan Mishkin <[email protected]>

---------

Co-authored-by: Bryan Mishkin <[email protected]>
  • Loading branch information
MikeMcC399 and bmish committed May 13, 2024
1 parent 92a44af commit f1c1240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rule/templates/_rule.js
Expand Up @@ -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) {
Expand Down

0 comments on commit f1c1240

Please sign in to comment.