Skip to content

Commit 2c2e70a

Browse files
authored
feat: fix formatting before commit (#1779)
* feat: fix formatting before commit * fix: ts-node error
1 parent d80f62f commit 2c2e70a

File tree

3 files changed

+224
-4
lines changed

3 files changed

+224
-4
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Checks code for typescript type errors and throws errors if found.
1010
npm run typecheck
1111

12-
# Formats code using prettier
12+
# Formats staged code using prettier
1313
# Checks and fixes all lint issues in code which don't require manual intervention.
1414
# Throws errors if lint issues requiring manual intervention are found in code.
1515
npm run lint-staged

package-lock.json

Lines changed: 222 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)