Finalize on commit lint

This commit is contained in:
GHOSCHT 2021-06-30 09:31:58 +02:00
parent 988a4f5110
commit 61bd1ed90c
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn --cwd ./Dashboard run lint
git add
yarn --cwd ./Dashboard run lint

View file

@ -40,7 +40,8 @@
"electron": "wait-on tcp:8080 && electron .",
"package": "yarn build && electron-builder --publish never",
"postinstall": "electron-builder install-app-deps",
"lint": "cross-env NODE_ENV=development eslint . --cache --fix --ext .js,.jsx,.ts,.tsx"
"lint": "cross-env NODE_ENV=development eslint . --cache --ext .js,.jsx,.ts,.tsx",
"lint:fix": "cross-env NODE_ENV=development eslint . --cache --fix --ext .js,.jsx,.ts,.tsx"
},
"license": "ISC",
"dependencies": {