import-js/eslint-plugin-import

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

Open

#2 675 ouverte le 14 janv. 2023

Voir sur GitHub
 (8 commentaires) (4 réactions) (0 assignés)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";

Guide contributeur