summaryrefslogtreecommitdiff
path: root/std/testing
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 /std/testing
parente736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff)
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
Diffstat (limited to 'std/testing')
-rw-r--r--std/testing/asserts.ts2
-rw-r--r--std/testing/asserts_test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/std/testing/asserts.ts b/std/testing/asserts.ts
index 55c647d04..eefa8c4f4 100644
--- a/std/testing/asserts.ts
+++ b/std/testing/asserts.ts
@@ -8,7 +8,7 @@ import { diff, DiffResult, DiffType } from "./_diff.ts";
const CAN_NOT_DISPLAY = "[Cannot display]";
interface Constructor {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // deno-lint-ignore no-explicit-any
new (...args: any[]): any;
}
diff --git a/std/testing/asserts_test.ts b/std/testing/asserts_test.ts
index 4f153e78c..5fefb5649 100644
--- a/std/testing/asserts_test.ts
+++ b/std/testing/asserts_test.ts
@@ -747,7 +747,7 @@ Deno.test({
assertArrayIncludes<boolean>([true, false], [true]);
const value = { x: 1 };
assertStrictEquals<typeof value>(value, value);
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // deno-lint-ignore ban-types
assertNotStrictEquals<object>(value, { x: 1 });
},
});