summaryrefslogtreecommitdiff
path: root/cli/tests/unit/error_stack_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-11-03 16:19:29 +0100
committerGitHub <noreply@github.com>2020-11-03 16:19:29 +0100
commit8e914be7420715620cad74fbb020c5e87ac875a2 (patch)
tree2fefc0111f85533de2bd24e54f70c6c1241e3d3b /cli/tests/unit/error_stack_test.ts
parente736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff)
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
Diffstat (limited to 'cli/tests/unit/error_stack_test.ts')
-rw-r--r--cli/tests/unit/error_stack_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/error_stack_test.ts b/cli/tests/unit/error_stack_test.ts
index d795a2951..a5fe13796 100644
--- a/cli/tests/unit/error_stack_test.ts
+++ b/cli/tests/unit/error_stack_test.ts
@@ -7,7 +7,7 @@ const { setPrepareStackTrace } = Deno[Deno.internal];
interface CallSite {
getThis(): unknown;
getTypeName(): string | null;
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
getFunction(): Function | null;
getFunctionName(): string | null;
getMethodName(): string | null;
@@ -36,7 +36,7 @@ function getMockCallSite(
getTypeName(): string {
return "";
},
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
getFunction(): Function {
return (): void => {};
},
@@ -125,7 +125,7 @@ unitTest(function errorStackMessageLine(): void {
// FIXME(bartlomieju): no longer works after migrating
// to JavaScript runtime code
unitTest({ ignore: true }, function prepareStackTrace(): void {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // deno-lint-ignore no-explicit-any
const MockError = {} as any;
setPrepareStackTrace(MockError);
assert(typeof MockError.prepareStackTrace === "function");