Skip to content

Commit

Permalink
Fix typos in messages (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamschachne committed May 29, 2023
1 parent c0d156b commit d13552a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/only-export-components.ts
Expand Up @@ -19,11 +19,11 @@ export const onlyExportComponents: TSESLint.RuleModule<
meta: {
messages: {
exportAll:
"This rule can't verify that `export *` only export components",
"This rule can't verify that `export *` only exports components.",
namedExport:
"Fast refresh only works when a file only export components. Use a new file to share constant or functions between components.",
"Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
anonymousExport:
"Fast refresh can't handle anonymous component. Add a name to your export.",
"Fast refresh can't handle anonymous components. Add a name to your export.",
localComponents:
"Fast refresh only works when a file only export components. Move your component(s) to a separate file.",
noExport:
Expand Down

0 comments on commit d13552a

Please sign in to comment.