import-js/eslint-plugin-import

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

Open

#2675 opened on Jan 14, 2023

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

Description

Input:

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

Output:

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

Contributor guide