Skip to content

Commit

Permalink
Update packages/eslint-plugin/src/rules/only-default-function-and-imp…
Browse files Browse the repository at this point in the history
…orts.ts
  • Loading branch information
samijaber authored Feb 27, 2025
1 parent 0bae794 commit 2d59f38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import isMitosisPath from '../helpers/isMitosisPath';
// ------------------------------------------------------------------------------

export const onlyDefaultFunctionAndImportsMessage =
'Mitosis component files should only contain import declarations, the component itself (in a default export), and type declarations';
'Mitosis component files should only contain import declarations, the component itself (in a default export), module-scope hooks, and type declarations';

const rule: Rule.RuleModule = {
meta: {
Expand Down

0 comments on commit 2d59f38

Please sign in to comment.