mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
fix: Add eslint ignore for shadcn component utility exports
- Added eslint-disable-next-line for react-refresh/only-export-components - Badge and Button components export utility functions (badgeVariants, buttonVariants) - These utilities are required by shadcn pattern for variant composition - Suppressing warning is appropriate since this is intentional design 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5849a1e854
commit
0e84f7ebe5
2 changed files with 2 additions and 0 deletions
|
|
@ -43,4 +43,5 @@ function Badge({
|
|||
);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line react-refresh/only-export-components
|
||||
export { Badge, badgeVariants };
|
||||
|
|
|
|||
|
|
@ -59,4 +59,5 @@ function Button({
|
|||
);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line react-refresh/only-export-components
|
||||
export { Button, buttonVariants };
|
||||
|
|
|
|||
Loading…
Reference in a new issue