chore: Enable typescript/no-explicit-any rule.

This commit is contained in:
cpojer
2026-02-02 15:45:05 +09:00
parent baa1e95b9d
commit 935a0e5708
65 changed files with 248 additions and 80 deletions

View File

@@ -49,6 +49,7 @@ function median(values: number[]): number {
async function runModel(opts: {
label: string;
// oxlint-disable-next-line typescript/no-explicit-any
model: Model<any>;
apiKey: string;
runs: number;

View File

@@ -193,7 +193,7 @@ for (const [login, lines] of linesByLogin.entries()) {
}
let user = apiByLogin.get(login);
if (!user) {
user = fetchUser(login);
user = fetchUser(login) || undefined;
}
if (user) {
const contributions = contributionsByLogin.get(login) ?? 0;
@@ -256,7 +256,9 @@ function run(cmd: string): string {
}).trim();
}
// oxlint-disable-next-line typescript/no-explicit-any
function parsePaginatedJson(raw: string): any[] {
// oxlint-disable-next-line typescript/no-explicit-any
const items: any[] = [];
for (const line of raw.split("\n")) {
if (!line.trim()) {