From 986182e449b4f54cb297ffcd41e3d03124e7486c Mon Sep 17 00:00:00 2001 From: jhuleatt Date: Wed, 2 Dec 2020 12:27:44 -0800 Subject: [PATCH] reduce lint to warning --- package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dcd287bc..1f0e0860 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "build": "tsdx build", "test:tsdx": "tsdx test", "test": "firebase emulators:exec --only firestore,database,auth --project rxfire-525a3 \"tsdx test --detectOpenHandles --forceExit\"", - "lint": "tsdx lint", + "lint": "tsdx lint src test", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why", @@ -27,7 +27,12 @@ }, "husky": { "hooks": { - "pre-commit": "tsdx lint" + "pre-commit": "yarn lint" + } + }, + "eslint": { + "rules": { + "react-hooks/rules-of-hooks": "warn" } }, "prettier": {