diff --git a/examples/block-interface.js b/examples/block-interface.js index 262a9976..2b9b054d 100644 --- a/examples/block-interface.js +++ b/examples/block-interface.js @@ -1,5 +1,7 @@ -import * as Block from 'multiformats/block' +/* eslint-disable no-console */ + import * as codec from '@ipld/dag-cbor' +import * as Block from 'multiformats/block' import { sha256 as hasher } from 'multiformats/hashes/sha2' async function run () { diff --git a/examples/cid-interface.js b/examples/cid-interface.js index add5b5b6..ddc8e254 100644 --- a/examples/cid-interface.js +++ b/examples/cid-interface.js @@ -1,8 +1,9 @@ +/* eslint-disable no-console */ import assert from 'assert' +import { base64 } from 'multiformats/bases/base64' import { CID } from 'multiformats/cid' import * as json from 'multiformats/codecs/json' import { sha256 } from 'multiformats/hashes/sha2' -import { base64 } from 'multiformats/bases/base64' async function run () { // ** PART 1: CREATING A NEW CID ** diff --git a/examples/multihash-interface.js b/examples/multihash-interface.js index 979a1c8d..e72b0e5a 100644 --- a/examples/multihash-interface.js +++ b/examples/multihash-interface.js @@ -1,5 +1,6 @@ -import { CID } from 'multiformats/cid' +/* eslint-disable no-console */ import crypto from 'crypto' +import { CID } from 'multiformats/cid' import * as json from 'multiformats/codecs/json' import * as hasher from 'multiformats/hashes/hasher'