chore: environment initial setup
This commit is contained in:
1
.husky/commit-msg
Normal file
1
.husky/commit-msg
Normal file
@@ -0,0 +1 @@
|
||||
bunx commitlint --edit $1
|
||||
8
.husky/install.ts
Normal file
8
.husky/install.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import husky from "husky"
|
||||
|
||||
// Skip Husky install in production and CI environments
|
||||
if (process.env.NODE_ENV === "production" || process.env.CI === "true") {
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
console.log(husky())
|
||||
1
.husky/pre-commit
Normal file
1
.husky/pre-commit
Normal file
@@ -0,0 +1 @@
|
||||
bunx lint-staged --config lint-staged.config.ts
|
||||
Reference in New Issue
Block a user