monorepo: remove husky (#10795)
Delete `husky` and `lint-checked` from the monorepo as no active JS development happens here. There is no need to run the pre commit lint hook on every single commit, this only slows down the latency of all commits.
Showing
.husky/.gitignore
deleted
100644 → 0
.husky/pre-commit
deleted
100755 → 0
... | ... | @@ -21,10 +21,9 @@ |
"lint:ts:check": "npx nx run-many --target=lint:ts:check", | ||
"lint:check": "npx nx run-many --target=lint:check", | ||
"lint:fix": "npx nx run-many --target=lint:fix", | ||
"lint:shellcheck": "find . -type f -name '*.sh' -not -path '*/node_modules/*' -not -path './packages/contracts-bedrock/lib/*' -not -path './packages/contracts-bedrock/kout*/*' -not -path './.husky/_/husky.sh' -exec sh -c 'echo \"Checking $1\"; shellcheck \"$1\"' _ {} \\;", | ||
"lint:shellcheck": "find . -type f -name '*.sh' -not -path '*/node_modules/*' -not -path './packages/contracts-bedrock/lib/*' -not -path './packages/contracts-bedrock/kout*/*' -exec sh -c 'echo \"Checking $1\"; shellcheck \"$1\"' _ {} \\;", | ||
"preinstall": "npx only-allow pnpm", | ||
"ready": "pnpm lint && pnpm test", | ||
"prepare": "husky install", | ||
"release": "npx nx run-many --target=build --skip-nx-cache && pnpm changeset publish", | ||
"release:check": "changeset status --verbose --since=origin/main", | ||
"release:publish": "pnpm install --frozen-lockfile && npx nx run-many --target=build && pnpm build && changeset publish", | ||
... | ... | @@ -66,8 +65,6 @@ |
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-react": "^7.24.0", | ||
"eslint-plugin-unicorn": "^50.0.1", | ||
"husky": "^9.0.10", | ||
"lint-staged": "15.2.0", | ||
"mocha": "^10.2.0", | ||
"nx": "18.2.2", | ||
"nx-cloud": "latest", | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment