Bug: [consistent-type-imports] sometimes does not report mixes of modules and types in one import as errors. #11096
Closed
4 tasks done
Labels
bug
Something isn't working
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
working as intended
Issues that are closed as they are working as intended
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=5.8.2&fileType=.tsx&code=JYWwDg9gTgLgBAbzgVwM4FMCSATANHGATzHTgGEJwIA7damABSgjFXyJLgCV0BDAYxgA5CNlIBfOADNmIOAHIofQfIDcAKE0dSAFXSp4AXnKVItekxaoAPPLDyAfBu1w9BgExxjPAcNHoNfhpUCAAbdAA6UIgAcwAKJDQsbDhxAEo4XlQUagBraggAd2pM7Ld4LJz8opLK8s9K3mpCDXUgA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6MgeyeUuX0Ra0ipWpQC2xDtHyoMkRNGhTI4MAF8QaoA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
// expected repro to error and auto-fix to
import { useId } from 'react';
import type { ComponentProps, ReactNode } from 'react';
Actual Result
No error. "False-positive", I think it's called?
Additional Info
No response
The text was updated successfully, but these errors were encountered: