import-js/eslint-plugin-import

[no-duplicates] prefer-inline should merge type and non-type imports

Open

#2,675 opened on Jan 14, 2023

 (8 comments) (4 reactions) (0 assignees)JavaScript (1,549 forks)batch import
bughelp wanted

Repository metrics

Stars
 (5,940 stars)
PR merge metrics
 (Avg merge 138d 22h) (3 merged PRs in 30d)

Description

Input:

import { A } from "./mod";
import type { B } from "./mod";

Output:

import { A, type B } from "./mod";

Contributor guide