import-js/eslint-plugin-import

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

Open

#2,675 opened on Jan 14, 2023

View on GitHub
 (8 comments) (4 reactions) (0 assignees)JavaScript (1,540 forks)batch import
bughelp wanted

Repository metrics

Stars
 (4,946 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