Skip to content

Commit 0605e1c

Browse files
committed
feat: Add husky, lint-staged, and root .gitignore
1 parent defb845 commit 0605e1c

File tree

4 files changed

+841
-0
lines changed

4 files changed

+841
-0
lines changed

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Environment variables
5+
.env
6+
*.env
7+
!.env.example
8+
9+
# Logs
10+
logs
11+
*.log
12+
npm-debug.log*
13+
yarn-debug.log*
14+
yarn-error.log*
15+
pnpm-debug.log*
16+
lerna-debug.log*
17+
18+
# Build outputs
19+
dist
20+
build
21+
coverage
22+
23+
# OS generated files
24+
.DS_Store
25+
Thumbs.db

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

0 commit comments

Comments
 (0)