mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 14:11:14 +00:00
build: lint cli/tests/unit using deno lint (#6327)
This commit is contained in:
parent
36ad5e4402
commit
ffedbd79ad
8 changed files with 42 additions and 19 deletions
|
@ -19,13 +19,13 @@ unitTest(
|
|||
}
|
||||
);
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-namespace, @typescript-eslint/no-explicit-any,no-var */
|
||||
declare global {
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
namespace Deno {
|
||||
var core: any;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
var core: any; // eslint-disable-line no-var
|
||||
}
|
||||
}
|
||||
/* eslint-enable */
|
||||
|
||||
unitTest(function malformedJsonControlBuffer(): void {
|
||||
const opId = Deno.core.ops()["op_open"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue