From f323cd2d26943fccd449a7a202b72335b70f0dc4 Mon Sep 17 00:00:00 2001 From: Abhinav-grd Date: Sun, 1 Aug 2021 13:33:55 +0530 Subject: [PATCH] remove husky --- .husky/.gitignore | 1 - .husky/pre-commit | 4 ---- package.json | 12 +----------- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 .husky/.gitignore delete mode 100755 .husky/pre-commit diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec13..000000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index d2ae35e84..000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -yarn lint-staged diff --git a/package.json b/package.json index 8143b7451..49a3d510b 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,7 @@ "build": "next build", "build-analyze": "ANALYZE=true next build", "postbuild": "next export", - "start": "next start", - "lint-staged": "lint-staged", - "postinstall": "husky install" + "start": "next start" }, "dependencies": { "@ente-io/next-with-workbox": "^1.0.3", @@ -81,13 +79,5 @@ }, "standard": { "parser": "babel-eslint" - }, - "lint-staged": { - "src/**/*.{js,jsx,ts,tsx}": "eslint" - }, - "husky": { - "hooks": { - "pre-commit": "yarn run lint-staged" - } } }