Skip to content

Commit aa58732

Browse files
committed
chore: Added config husky
1 parent d293481 commit aa58732

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.huskyrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "lintstaged"
4+
}
5+
}

.liststagedrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"*.ts": {
3+
"eslint 'src/**' --fix",
4+
"git add"
5+
}
6+
}

0 commit comments

Comments
 (0)