From 5182df652544bd5726e973f35be2f31abe9d3bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 27 Jun 2022 12:24:20 +0200 Subject: [PATCH] :zap: Combine `lint` and `lintfix` scripts --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index cdbf63d..31258dc 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,8 @@ "scripts": { "dev": "npm run watch", "build": "tsc && gulp", - "lint": "tslint -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js ./nodes", - "lintfix": "tslint --fix -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js --fix ./nodes", - "lint:plugin": "eslint nodes credentials package.json", - "lintfix:plugin": "eslint nodes credentials package.json --fix", + "lint": "tslint -p tsconfig.json -c tslint.json; eslint nodes credentials package.json", + "lintfix": "tslint --fix -p tsconfig.json -c tslint.json; eslint nodes credentials package.json --fix", "watch": "tsc --watch", "test": "jest" },