diff --git a/.huskyrc.json b/.huskyrc.json new file mode 100644 index 0000000000..d2180fee97 --- /dev/null +++ b/.huskyrc.json @@ -0,0 +1,5 @@ +{ + "hooks": { + "post-checkout": "git config submodule.recurse true" + } +} diff --git a/package.json b/package.json index 4a00f418ac..4d576a2c52 100644 --- a/package.json +++ b/package.json @@ -83,11 +83,6 @@ "submodules:load": "git submodule init && git submodule update && yarn && yarn bootstrap", "submodules:unload": "git submodule deinit --all" }, - "husky": { - "hooks": { - "post-checkout": "git config submodule.recurse true" - } - }, "workspaces": { "packages": [ "packages/backend-core",