Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(eslint-plugin): [naming-convention] put identifiers in quotes in…
… error messages (#2182)

Fixes #2178
  • Loading branch information
segeda committed Jun 6, 2020
1 parent 6dee784 commit fc61932
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/eslint-plugin/src/rules/naming-convention.ts
Expand Up @@ -346,15 +346,15 @@ export default util.createRule<Options, MessageIds>({
type: 'suggestion',
messages: {
unexpectedUnderscore:
'{{type}} name {{name}} must not have a {{position}} underscore.',
'{{type}} name `{{name}}` must not have a {{position}} underscore.',
missingUnderscore:
'{{type}} name {{name}} must have a {{position}} underscore.',
'{{type}} name `{{name}}` must have a {{position}} underscore.',
missingAffix:
'{{type}} name {{name}} must have one of the following {{position}}es: {{affixes}}',
'{{type}} name `{{name}}` must have one of the following {{position}}es: {{affixes}}',
satisfyCustom:
'{{type}} name {{name}} must {{regexMatch}} the RegExp: {{regex}}',
'{{type}} name `{{name}}` must {{regexMatch}} the RegExp: {{regex}}',
doesNotMatchFormat:
'{{type}} name {{name}} must match one of the following formats: {{formats}}',
'{{type}} name `{{name}}` must match one of the following formats: {{formats}}',
},
schema: SCHEMA,
},
Expand Down

0 comments on commit fc61932

Please sign in to comment.