⚡ Combine lint and lintfix scripts
This commit is contained in:
parent
6c8b561291
commit
5182df6525
1 changed files with 2 additions and 4 deletions
|
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue