style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798)

* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of

* style: fix typescript-eslint/prefer-for-of

* style: fix typescript/no-inferrable-types

* style: fix typescript-eslint/consistent-generic-constructors

* style: typescript-eslint/consistent-type-assertions

* style: fix typescript-eslint/array-type

* fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
This commit is contained in:
Tony
2026-01-02 09:42:24 +08:00
committed by GitHub
parent 1352d30978
commit b84bb92a8a
214 changed files with 575 additions and 566 deletions
@@ -125,7 +125,7 @@ export default async function callMaintainer({ github, context, core }) {
if (main.length > 0) {
const pingStr = main
.map((e) => {
if (e in dndUsernames) {
if (dndUsernames.has(e)) {
return `\`@${e}\``; // Wrap in an inline code block to make sure no mention will be sent
}
return `@${e}`;