Enforce type-only imports via linter
未關閉
enhancement
- 主要語言
- TypeScript
- 星號
- 695
- 分支
- 210
- 平均合併
- 21 小時 33 分鐘
- 30 天內合併 PR
- 90
描述
## Motivation
https://app.graphite.com/github/pr/anza-xyz/kit/1035/Add-a-function-to-flatten-transaction-plan-results#comment-PRRC_kwDONc0xOc6YXyOR
## Details
Add a linter (I guess this means this really needs to be a pull request for https://github.com/anza-xyz/eslint-config-solana/) that enforces `import type { Foo } from 'foo'` when `Foo` is only used in a type position. Make sure that it works with the import sorter, and has an autofix.
貢獻指南
評估
這個 Issue 還沒有評估資料。