Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
TODO: Fix failing tests.
  • Loading branch information
EthanThatOneKid committed May 28, 2024
1 parent 9571bb1 commit 35d1218
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 7 deletions.
19 changes: 19 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/lc/client_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "lc-dailies/deps.ts";
import { assertEquals } from "@std/assert";
import { makeQuestionURL, parseSubmissionID } from "./urls.ts";

Deno.test("makeQuestionURL", () => {
Expand Down
3 changes: 2 additions & 1 deletion lib/leaderboard/denokv/denokv_leaderboard_client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { DAY, ulid, WEEK } from "lc-dailies/deps.ts";
import { DAY, WEEK } from "@std/datetime";
import { ulid } from "@std/ulid";
import type * as api from "lc-dailies/lib/api/mod.ts";
import type { LeaderboardClient } from "lc-dailies/lib/leaderboard/mod.ts";
import { sync } from "lc-dailies/lib/leaderboard/mod.ts";
Expand Down
3 changes: 2 additions & 1 deletion lib/leaderboard/denokv/denokv_leaderboard_client_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { assertEquals, assertRejects, DAY, WEEK } from "lc-dailies/deps.ts";
import { assertEquals, assertRejects } from "@std/assert";
import { DAY, WEEK } from "@std/datetime";
import * as fake_lc from "lc-dailies/lib/lc/fake_client.ts";
import type { Season } from "lc-dailies/lib/api/mod.ts";
import { DenoKvLeaderboardClient } from "./denokv_leaderboard_client.ts";
Expand Down
2 changes: 1 addition & 1 deletion lib/leaderboard/scores_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "lc-dailies/deps.ts";
import { assertEquals } from "@std/assert";
import {
calculatePlayerScore,
calculateScores,
Expand Down
2 changes: 1 addition & 1 deletion lib/leaderboard/sync.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SECOND, WEEK } from "lc-dailies/deps.ts";
import { SECOND, WEEK } from "@std/datetime";
import type * as api from "lc-dailies/lib/api/mod.ts";
import type { LCClientInterface } from "lc-dailies/lib/lc/mod.ts";
import {
Expand Down
3 changes: 1 addition & 2 deletions lib/leaderboard/sync_test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { assertEquals } from "lc-dailies/deps.ts";
import { assertEquals } from "@std/assert";
import type { LCSubmission } from "lc-dailies/lib/lc/mod.ts";
// import type { SyncOptions } from "./sync.ts";
import { sync } from "./sync.ts";

const FAKE_UNSYNCED_SEASON = {
Expand Down

0 comments on commit 35d1218

Please sign in to comment.