import-js/eslint-plugin-import

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

Open

#2,675 opened on 2023年1月14日

GitHub で見る
 (8 comments) (4 reactions) (0 assignees)JavaScript (1,540 forks)batch import
bughelp wanted

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (平均マージ 138d 22h) (30d で 3 merged PRs)

説明

Input:

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

Output:

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

コントリビューターガイド