Skip to content

Commit d13552a

Browse files
authored
Fix typos in messages (#15)
1 parent c0d156b commit d13552a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/only-export-components.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export const onlyExportComponents: TSESLint.RuleModule<
1919
meta: {
2020
messages: {
2121
exportAll:
22-
"This rule can't verify that `export *` only export components",
22+
"This rule can't verify that `export *` only exports components.",
2323
namedExport:
24-
"Fast refresh only works when a file only export components. Use a new file to share constant or functions between components.",
24+
"Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.",
2525
anonymousExport:
26-
"Fast refresh can't handle anonymous component. Add a name to your export.",
26+
"Fast refresh can't handle anonymous components. Add a name to your export.",
2727
localComponents:
2828
"Fast refresh only works when a file only export components. Move your component(s) to a separate file.",
2929
noExport:

0 commit comments

Comments
 (0)