Skip to content

Commit

Permalink
Prohibit use of the console object
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Sep 15, 2023
1 parent 8ca2ad8 commit cedb744
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{
"allowEmptyCatch": true
}
]
],
"no-console": "error"
}
}
3 changes: 3 additions & 0 deletions packages/interop-test-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// This script implements the client role of draft-dcook-ppm-dap-interop-test-design-02.

/* eslint no-console: "off" */

import type { Request, Response } from "express";
import express from "express";
import type { ReportOptions } from "@divviup/dap";
Expand Down
2 changes: 2 additions & 0 deletions scripts/benchmarks.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint no-console: "off" */

import Benchmark from "benchmark";
import { Task, KnownVdafSpec, VdafMeasurement } from "dap/client";
import { TaskId } from "dap/taskId";
Expand Down

0 comments on commit cedb744

Please sign in to comment.