diff --git a/examples/src/basic-usage-async-await.js b/examples/src/basic-usage-async-await.js index 3d8e640..298edd4 100644 --- a/examples/src/basic-usage-async-await.js +++ b/examples/src/basic-usage-async-await.js @@ -1,4 +1,6 @@ -const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved +/* eslint-disable import/no-unresolved */ + +const driver = require('bigchaindb-driver') require('dotenv').config() diff --git a/examples/src/basic-usage.js b/examples/src/basic-usage.js index 77cd25e..1cc823f 100644 --- a/examples/src/basic-usage.js +++ b/examples/src/basic-usage.js @@ -1,4 +1,6 @@ -const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved +/* eslint-disable import/no-unresolved */ + +const driver = require('bigchaindb-driver') require('dotenv').config() diff --git a/examples/src/query-assets.js b/examples/src/query-assets.js index cad31dd..d43cf2f 100644 --- a/examples/src/query-assets.js +++ b/examples/src/query-assets.js @@ -1,4 +1,6 @@ -const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved +/* eslint-disable import/no-unresolved */ + +const driver = require('bigchaindb-driver') require('dotenv').config() diff --git a/examples/src/seed-func.js b/examples/src/seed-func.js index 7d85cd5..21540ec 100644 --- a/examples/src/seed-func.js +++ b/examples/src/seed-func.js @@ -1,6 +1,8 @@ -import bip39 from 'bip39' // eslint-disable-line import/no-unresolved +/* eslint-disable import/no-unresolved */ -const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved +import bip39 from 'bip39' + +const driver = require('bigchaindb-driver') // ======== Create Keypair ======== // /** diff --git a/package.json b/package.json index 02658e8..ffe1018 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "main": "./dist/node/index.js", "browser": "./dist/browser/bigchaindb-driver.cjs2.min.js", "scripts": { - "lint": "eslint ./", + "lint": "./node_modules/.bin/eslint ./", "build": "npm run clean && npm run build:cjs && npm run build:dist", "build:bundle": "webpack", "build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",