config: add lint script to pre-commit script

This commit is contained in:
Xymorot 2019-10-10 23:08:50 +02:00
parent fa976cac9a
commit 59f2ce6f5f
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@
"forge:start": "electron-forge start",
"forge:make": "electron-forge --platform win32 --arch x64 make",
"forge": "npm run build && npm run forge:make",
"precommit": "npm run test:unit && npm run prettier:write && npm run eslint-check && npm run tslint-check",
"prepush": "npm run lint && npm run test"
"precommit": "npm run test:unit && npm run prettier:write && npm run eslint-check && npm run tslint-check && npm run lint",
"prepush": "npm run test"
},
"dependencies": {
"jsdom": "^15.1.1",