diff --git a/package.json b/package.json index 83e09e56e3..e982128c5a 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "test": "npm run unit && npm run jest", "jest": "node node_modules/jest/bin/jest.js tests/integration/*", "lint": "eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/", - "lint:fix": "npm lint --fix", + "lint:fix": "npm run lint --fix", "unit": "./node_modules/.bin/mocha tests/unit/*" }, "jest": { @@ -156,8 +156,7 @@ "stream": "stream-browserify" }, "lint-staged": { - "src/**/*.{ts,tsx}": [ - "npm test", + "./**/*.{ts,tsx,js,jsx}": [ "npm run lint:fix" ] }, diff --git a/screen/selftest.js b/screen/selftest.js index 8fcdeca521..ed6f3cb1e2 100644 --- a/screen/selftest.js +++ b/screen/selftest.js @@ -67,8 +67,6 @@ export default class Selftest extends Component { isOk = false; } - // - // utxos as received from blockcypher let utxos = [ {