Skip to content

Commit

Permalink
Merge pull request #102 from Expensify/Rory-AddRuleMetadata
Browse files Browse the repository at this point in the history
[No QA] Add rule metadata for use-periods-for-error-messages
  • Loading branch information
luacmartins authored Jun 20, 2024
2 parents 3f1c331 + 5f0ce6f commit e21cf0f
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 e21cf0f

Please sign in to comment.