refactor: remove husky

This commit is contained in:
Mauricio Siu
2024-11-28 22:14:01 -06:00
parent e194f3c454
commit 00883dde11
7 changed files with 2 additions and 25 deletions

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm commitlint --edit $1

View File

@@ -1,6 +0,0 @@
// Skip Husky install in production and CI
if (process.env.NODE_ENV === "production" || process.env.CI === "true") {
process.exit(0);
}
const husky = (await import("husky")).default;
console.log(husky());

View File

@@ -1 +0,0 @@
pnpm lint-staged

View File

@@ -4,9 +4,6 @@ on:
pull_request: pull_request:
branches: [main, canary] branches: [main, canary]
env:
HUSKY: 0
jobs: jobs:
lint-and-typecheck: lint-and-typecheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -1 +0,0 @@
npx commitlint --edit "$1"

View File

@@ -1,6 +0,0 @@
// Skip Husky install in production and CI
if (process.env.NODE_ENV === "production" || process.env.CI === "true") {
process.exit(0);
}
const husky = (await import("husky")).default;
console.log(husky());

View File

@@ -1,2 +0,0 @@
# pnpm run check
# git add .