Remove lint errors
MODIFY
examples/node/allowance-ERC20.js
examples/node/allowance-ERC20.js
@@ -2,7 +2,6 @@ const Matic = require('maticjs').default
const config = require('./config')
const token = config.ROPSTEN_TEST_TOKEN // test token address
-const amount = '1000000000000000000' // amount in wei
const from = config.FROM_ADDRESS // from address
// Create object of Matic
@@ -20,8 +19,8 @@ matic.wallet = config.PRIVATE_KEY // prefix with `0x`
matic
.allowanceERC20TokensForDeposit(from, token)
.then(result => {
- console.log(result)
+ console.log(result) // eslint-disable-line
})
.catch(e => {
- console.log(e)
+ console.log(e) // eslint-disable-line
})

MODIFY
src/index.js
src/index.js
@@ -19,7 +19,6 @@ import MerkleTree from './helpers/merkle-tree'
import RootChainArtifacts from '../artifacts/RootChain'
import ChildERC20Artifacts from '../artifacts/ChildERC20'
import ChildERC721Artifacts from '../artifacts/ChildERC721'
-import StandardTokenArtifacts from '../artifacts/StandardToken'
import WithdrawManagerArtifacts from '../artifacts/WithdrawManager'
import DepositManagerArtifacts from '../artifacts/DepositManager'

Remove lint errors