From dc353ee5bc5ce0175eb53778c3e96058f750dc9e Mon Sep 17 00:00:00 2001 From: getlarge Date: Tue, 15 Feb 2022 08:07:38 +0100 Subject: [PATCH] chore: update lint rules --- .eslintrc.js | 2 +- test/transaction/test_cryptoconditions.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 7e11df5..a5b8972 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -193,7 +193,7 @@ module.exports = { ], }, ], - + 'import/no-extraneous-dependencies': ['error', { 'devDependencies': true }], /** * ES6-specific Issues * (http://eslint.org/docs/rules/#ecmascript-6) diff --git a/test/transaction/test_cryptoconditions.js b/test/transaction/test_cryptoconditions.js index d5741ce..ffcc86b 100644 --- a/test/transaction/test_cryptoconditions.js +++ b/test/transaction/test_cryptoconditions.js @@ -92,7 +92,8 @@ test('Fulfillment correctly formed', t => { const msgHash = sha256Hash(msgUniqueFulfillment) t.truthy(validateFulfillment( - txSigned.inputs[0].fulfillment, txCreate.outputs[0].condition.uri, + txSigned.inputs[0].fulfillment, + txCreate.outputs[0].condition.uri, Buffer.from(msgHash, 'hex') )) })