mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 01:36:56 +01:00
ESlint fixes
* use local eslint on Travis * lint fixes for examples
This commit is contained in:
parent
a149ef9125
commit
364f0a25d3
@ -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()
|
||||
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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 ======== //
|
||||
/**
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user