Skip to content

chore: 🤖 enforce generic annotation style for array type declarations#867

Merged
punkbit merged 4 commits intomainfrom
chore/create-lint-rule-for-declaring-type-array
Mar 3, 2026
Merged

chore: 🤖 enforce generic annotation style for array type declarations#867
punkbit merged 4 commits intomainfrom
chore/create-lint-rule-for-declaring-type-array

Conversation

@punkbit
Copy link
Collaborator

@punkbit punkbit commented Mar 3, 2026

Why?

Adds a new lint rule that enforces arrays to be declared using generic verbose annotation style (Array) rather than the most popular shorthand bracket notation (T[]).

How?

  • Add eslint rule
  • Set eslint rule to use verbose generic type

Preview?

N/A

@changeset-bot
Copy link

changeset-bot bot commented Mar 3, 2026

🦋 Changeset detected

Latest commit: a68b3e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clickhouse/click-ui Minor

Not sure what this means? Click here to learn what changesets are.

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

@punkbit punkbit changed the title chore(lint): 🤖 enforce generic annotation style for array type declarations chore: 🤖 enforce generic annotation style for array type declarations Mar 3, 2026
@workflow-authentication-public
Copy link
Contributor

workflow-authentication-public bot commented Mar 3, 2026

📚 Storybook Preview Deployed

✅ Preview URL: https://click-lxdmjmx1d-clickhouse.vercel.app

Built from commit: 64378b9f15aa2168363b75ecca9839410f37c11f

@punkbit punkbit merged commit 65a573d into main Mar 3, 2026
7 checks passed
@punkbit punkbit deleted the chore/create-lint-rule-for-declaring-type-array branch March 3, 2026 16:22
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.

2 participants