Skip to content

Commit

Permalink
Add rule metadata for use-periods-for-error-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jun 20, 2024
1 parent 3f1c331 commit 5f0ce6f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion eslint-plugin-expensify/use-periods-for-error-messages.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
require('lodash/get');
const message = require('./CONST').MESSAGE.USE_PERIODS_ERROR_MESSAGES;

module.exports = {
meta: {
type: 'suggestion',
docs: {
description: 'Enforce using periods at the end of error messages',
},
fixable: 'code',
},
create(context) {
return {
Property(node) {
Expand Down

0 comments on commit 5f0ce6f

Please sign in to comment.