From deb51ea6439cbfcfc1134579549cae1fb5ef6c4b Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Tue, 20 Aug 2024 11:46:37 +0000 Subject: [PATCH] cli-hooks(chore): fix prelint tsc run script (#1895) --- packages/cli-hooks/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli-hooks/package.json b/packages/cli-hooks/package.json index bee703906..d99b855c1 100644 --- a/packages/cli-hooks/package.json +++ b/packages/cli-hooks/package.json @@ -37,7 +37,7 @@ "scripts": { "prebuild": "shx rm -rf ./coverage", "build": "shx chmod +x src/*.js", - "prelint": "tsc --noemit --module es2022 --project ./jsconfig.json", + "prelint": "tsc --noemit --module es2022 --maxNodeModuleJsDepth 0 --project ./jsconfig.json", "lint": "eslint --ext .js src", "pretest": "npm run lint -- --fix", "test": "c8 mocha src/*.spec.js"