Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Add rule to use import and import type #83

Merged
merged 4 commits into from
Jun 12, 2024
Merged

Add rule to use import and import type #83

merged 4 commits into from
Jun 12, 2024

Conversation

mironiasty
Copy link
Contributor

This PR just adds rule @typescript-eslint/consistent-type-imports in eslint.
(also sorts rules in .eslintrc and fixes code using yarn lint:fix)

This rule helps understand if imported thing is just type, or part of actual logic.

@mironiasty mironiasty requested a review from kamil-stasiak June 12, 2024 08:17
@mironiasty mironiasty merged commit a40dc79 into main Jun 12, 2024
4 checks passed
@mironiasty mironiasty deleted the use-import-type branch June 12, 2024 09:39
@mironiasty mironiasty restored the use-import-type branch June 17, 2024 08:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants