Skip to content

Conversation

@jaaydenh
Copy link
Contributor

@jaaydenh jaaydenh commented Nov 27, 2025

Adds deprecation markers for MUI components and the custom Stack component to guide migration to shadcn/ui and Tailwind CSS.

Changes:

  • Added JSDoc @deprecated tags to Stack component and type definitions
  • Added deprecation comments to MUI imports in theme files
  • Expanded Biome noRestrictedImports rules to flag all MUI component imports

Adds comprehensive deprecation markers for Material-UI components and
the custom Stack component to guide migration to shadcn/ui and Tailwind CSS.

Changes:
- Added JSDoc @deprecated tags to Stack component and type definitions
- Added deprecation comments to MUI imports in theme files
- Expanded Biome noRestrictedImports rules to flag all MUI component imports
- Added clear migration paths in error messages (e.g., use shadcn/ui Tooltip instead)

The linter now detects 300+ instances of deprecated MUI imports across
the codebase and provides actionable guidance for migration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
"options": {
"paths": {
"@mui/material": "Use @mui/material/<name> instead. See: https://material-ui.com/guides/minimizing-bundle-size/.",
// "@mui/material/Alert": "Use components/Alert/Alert instead.",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving the commented list of components still in use as a sort of TODO list of items that can be uncommented and added as errors when they are removed from the codebase.

@jaaydenh jaaydenh merged commit a6285dd into main Dec 8, 2025
31 checks passed
@jaaydenh jaaydenh deleted the chore/mark-mui-stack-deprecated branch December 8, 2025 21:11
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants