mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 15:18:18 -05:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user