Skip to content

Conversation

@JoshuaKGoldberg
Copy link
Collaborator

PR Checklist

Overview

Implements the typeConstituentDuplicates rule that reports duplicate types in union and intersection types. Duplicates are redundant and should be removed.

Equivalent to ESLint's @typescript-eslint/no-duplicate-type-constituents rule.

@vercel
Copy link

vercel bot commented Jan 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
flint Ready Ready Preview, Comment Jan 26, 2026 6:55am

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Jan 26, 2026

⚠️ No Changeset found

Latest commit: d3ec87f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@JoshuaKGoldberg
Copy link
Collaborator Author

Hmm, this should use assignability API strategies not yet fully done in typescript-eslint. Marking as blocked until we have more practices built up.

@JoshuaKGoldberg JoshuaKGoldberg added the status: blocked Waiting for something else to be resolved 🙅 label Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: blocked Waiting for something else to be resolved 🙅

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚀 Feature: Implement typeConstituentDuplicates rule (TypeScript)

2 participants