Skip to content

Conversation

@Baltazore
Copy link
Contributor

@Baltazore Baltazore commented Sep 30, 2025

Should fix #10394 #10396 #10399

@github-project-automation github-project-automation bot moved this to needs triage in EmberData Sep 30, 2025
@Baltazore Baltazore force-pushed the fixes-to-legacy-import-lint branch from 7d1179a to 998aa4e Compare October 7, 2025 08:22
…cript

- Updated the property name from `typeOnly` to `isTypeExport` for clarity.
- Enhanced export extraction logic using Babel's parser for better accuracy.
- Removed regex-based export detection in favor of AST traversal.
- Improved handling of various export declarations, including default, named, and star exports.
- Added support for TypeScript-specific export types.
…structure and add flat output option

- Updated MappingEntry and Replacement interfaces to improve type handling and clarity.
- Added support for a new --flat-out option to specify a separate output file for compact mappings.
- Enhanced scoring logic to account for type export matches and mismatches.
- Refactored various functions to align with the new structure and improve readability.
@Baltazore Baltazore force-pushed the fixes-to-legacy-import-lint branch from d1bd62c to b67716e Compare October 29, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no-legacy-imports should account for more recent exports

2 participants