Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
fix(command-export-name): fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryblossom000 committed Aug 6, 2020
1 parent 0a24dbe commit 3f31288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/src/create-name-rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default (
meta: {
type: 'suggestion',
messages: {
incorrectName: '`{{name}}` should be `listener`.',
incorrectName: `\`{{name}}\` should be \`${name}\`.`,
notIdentifier:
'An identifier called `listener` should be the default export.'
`An identifier called \`${name}\` should be the default export.`
},
schema: []
},
Expand Down

0 comments on commit 3f31288

Please sign in to comment.