Combine lint and lintfix scripts

This commit is contained in:
Iván Ovejero 2022-06-27 12:24:20 +02:00
commit 5182df6525

View file

@ -19,10 +19,8 @@
"scripts": { "scripts": {
"dev": "npm run watch", "dev": "npm run watch",
"build": "tsc && gulp", "build": "tsc && gulp",
"lint": "tslint -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js ./nodes", "lint": "tslint -p tsconfig.json -c tslint.json; eslint nodes credentials package.json",
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js --fix ./nodes", "lintfix": "tslint --fix -p tsconfig.json -c tslint.json; eslint nodes credentials package.json --fix",
"lint:plugin": "eslint nodes credentials package.json",
"lintfix:plugin": "eslint nodes credentials package.json --fix",
"watch": "tsc --watch", "watch": "tsc --watch",
"test": "jest" "test": "jest"
}, },