We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type
import/no-duplicates
This correctly triggers import/no-duplicates:
import { useEffect } from "react"; import { useState } from "react";
But this doesn't:
import { type ComponentProps, useEffect } from "react"; import { useState } from "react";
The rule should merge the imports above into:
import { type ComponentProps, useEffect, useState } from "react";
The text was updated successfully, but these errors were encountered:
Note this depends on the configuration, because it could also potentially be autofixed into
import type { ComponentProps } from "react"; import { useState, useEffect } from "react";
Sorry, something went wrong.
No branches or pull requests
This correctly triggers
import/no-duplicates
:But this doesn't:
The rule should merge the imports above into:
The text was updated successfully, but these errors were encountered: