import-js/eslint-plugin-import

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

Open

#2,675 创建于 2023年1月14日

在 GitHub 查看
 (8 评论) (4 反应) (0 负责人)JavaScript (4,946 star) (1,540 fork)batch import
bughelp wanted

描述

Input:

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

Output:

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

贡献者指南

[no-duplicates] prefer-inline should merge type and non-type imports · import-js/eslint-plugin-import#2675 | Good First Issue