diff --git a/.husky/pre-commit b/.husky/pre-commit index 343819d..af62d87 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -yarn --cwd ./Dashboard run lint -git add \ No newline at end of file +yarn --cwd ./Dashboard run lint \ No newline at end of file diff --git a/Dashboard/package.json b/Dashboard/package.json index 6334a13..76dee2d 100644 --- a/Dashboard/package.json +++ b/Dashboard/package.json @@ -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": {