Skip to content

chore: enforce type only imports#2015

Merged
mjameswh merged 3 commits intomainfrom
olszewski/chore_type_imports
Apr 17, 2026
Merged

chore: enforce type only imports#2015
mjameswh merged 3 commits intomainfrom
olszewski/chore_type_imports

Conversation

@chris-olszewski
Copy link
Copy Markdown
Member

What was changed

Follow up for #2010, update our eslint settings to enforce identifiers only used for typing get imported as import type.

Done by enabling consistent-type-imports

Why?

General good hygiene to use import type to identify what imports are not present at runtime.

Checklist

  1. Closes N/A

  2. How was this tested:
    Changes eslint config, then ran pnpm run lint to fixup the codebase.

  3. Any docs updates needed?
    N/A

@chris-olszewski chris-olszewski requested a review from a team as a code owner April 17, 2026 13:33
@chris-olszewski chris-olszewski force-pushed the olszewski/chore_type_imports branch from 6a0b684 to 3067224 Compare April 17, 2026 13:33
@chris-olszewski chris-olszewski force-pushed the olszewski/chore_type_imports branch from 3067224 to ad1099f Compare April 17, 2026 14:08
Copy link
Copy Markdown
Contributor

@mjameswh mjameswh left a comment

Choose a reason for hiding this comment

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

Good idea, thanks.

@mjameswh mjameswh merged commit 4c644f2 into main Apr 17, 2026
49 of 52 checks passed
@mjameswh mjameswh deleted the olszewski/chore_type_imports branch April 17, 2026 19:57
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.

2 participants