Skip to content

Commit

Permalink
satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrokonrad committed Aug 9, 2024
1 parent 9528b79 commit b6114c2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion blueprint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import packageJson from "./package.json" assert { type: "json" };
import packageJson from "./package.json" with { type: "json" };
import { parse } from "https://deno.land/[email protected]/flags/mod.ts";

const flags = parse(Deno.args, {
Expand Down
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as dnt from "https://deno.land/x/[email protected]/mod.ts";
import * as esbuild from "https://deno.land/x/[email protected]/mod.js";
import packageInfo from "./package.json" assert { type: "json" };
import packageInfo from "./package.json" with { type: "json" };

await dnt.emptyDir("./dist");

Expand Down
6 changes: 2 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"test:core": "cd src/core/libs/cardano_multiplatform_lib && cargo test; cd ../cardano_message_signing && cargo test"
},
"lint": {
"files": {
"include": ["src/"],
"exclude": ["src/core/"]
}
"include": ["src/"],
"exclude": ["src/core/"]
}
}
2 changes: 1 addition & 1 deletion src/core/core.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as C from "./libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js";
import * as M from "./libs/cardano_message_signing/cardano_message_signing.generated.js";
import packageJson from "../../package.json" assert { type: "json" };
import packageJson from "../../package.json" with { type: "json" };

async function unsafeInstantiate(module: any, url: string) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/provider/blockfrost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Unit,
UTxO,
} from "../types/mod.ts";
import packageJson from "../../package.json" assert { type: "json" };
import packageJson from "../../package.json" with { type: "json" };

export class Blockfrost implements Provider {
url: string;
Expand Down
2 changes: 1 addition & 1 deletion src/provider/maestro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
Unit,
UTxO,
} from "../types/mod.ts";
import packageJson from "../../package.json" assert { type: "json" };
import packageJson from "../../package.json" with { type: "json" };

export type MaestroSupportedNetworks = "Mainnet" | "Preprod" | "Preview";

Expand Down

0 comments on commit b6114c2

Please sign in to comment.