Skip to content

Commit

Permalink
chore: enable verbatim-module-syntax lint rule (#4539)
Browse files Browse the repository at this point in the history
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
  • Loading branch information
dsherret and iuioiua authored Apr 2, 2024
1 parent 58826d0 commit 26d3fc3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crypto/_benches/bench.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S deno bench
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { crypto as stdCrypto, DIGEST_ALGORITHM_NAMES } from "../mod.ts";
import { crypto as stdCrypto, type DIGEST_ALGORITHM_NAMES } from "../mod.ts";

import nodeCrypto from "node:crypto";

Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"include": [
"camelcase",
"no-sync-fn-in-async-fn",
"single-var-declarator"
"single-var-declarator",
"verbatim-module-syntax"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion expect/_extend.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

import { Matchers } from "./_types.ts";
import type { Matchers } from "./_types.ts";

let extendMatchers = {};

Expand Down
2 changes: 1 addition & 1 deletion expect/_extend_test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

import { expect } from "./expect.ts";
import { MatcherContext, Tester } from "./_types.ts";
import type { MatcherContext, Tester } from "./_types.ts";

declare module "./_types.ts" {
interface Expected {
Expand Down
6 changes: 3 additions & 3 deletions front_matter/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
*
* @module
*/
import { extract as extractJson } from "./json.ts";
import { extract as extractToml } from "./toml.ts";
import { extract as extractYaml } from "./yaml.ts";
import type { extract as extractJson } from "./json.ts";
import type { extract as extractToml } from "./toml.ts";
import type { extract as extractYaml } from "./yaml.ts";

export * from "./create_extractor.ts";
export * from "./test.ts";

0 comments on commit 26d3fc3

Please sign in to comment.