From 35db3ffbf0f9a16780920c35a659b66261fe6b5b Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Tue, 5 Jul 2022 04:31:10 -0700 Subject: [PATCH] Use absolute paths when running eslint --- backend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index d5121f9f3..ba5d8ad1f 100644 --- a/backend/package.json +++ b/backend/package.json @@ -25,8 +25,8 @@ "start": "node --max-old-space-size=2048 dist/index.js", "start-production": "node --max-old-space-size=4096 dist/index.js", "test": "echo \"Error: no test specified\" && exit 1", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix" + "lint": "./node_modules/.bin/eslint . --ext .ts", + "lint:fix": "./node_modules/.bin/eslint . --ext .ts --fix" }, "dependencies": { "@mempool/electrum-client": "^1.1.7",