Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented May 25, 2023

Description

This pull request adds a new rule that enforces all generic parameters to have a length of at least 3 characters.

Before this change, this is allowed:

type Foo<T> = T;

After this change, you can do something like this instead:

type Foo<Type> = Type;

Changes

  1. Add a new rule to enforce the minimum length of generic parameters at 3 characters.

@Mrtenz Mrtenz requested a review from a team as a code owner May 25, 2023 19:42
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants