From 61bd1ed90cd4480c4d40c413e9f2d6bece474e6c Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Wed, 30 Jun 2021 09:31:58 +0200 Subject: [PATCH] Finalize on commit lint --- .husky/pre-commit | 3 +-- Dashboard/package.json | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) 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": {