⚡ Combine lint and lintfix scripts
This commit is contained in:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user