chore: add script to check import / export type sorting (#900)

* Enforce separate type imports

* chore: enforce separate type exports

* refactor: flatten sdk index exports

* updates

* fix improperly sorted types

* fixes and prettier

* prettier
This commit is contained in:
Justin Hernandez
2025-08-15 10:11:44 -07:00
committed by GitHub
parent d33e329164
commit 76f4980ef6
14 changed files with 297 additions and 233 deletions

View File

@@ -45,7 +45,7 @@ module.exports = {
],
// Export sorting - using sort-exports for better type prioritization
'sort-exports/sort-exports': ['error', { sortDir: 'asc', ignoreCase: false, sortExportKindFirst: 'type' }],
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }],
'import/first': 'error',
'import/newline-after-import': 'error',
'import/no-duplicates': 'error',