Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite8dfbde

Browse files
Add format script to pre-commit hook (anuraghazra#2146)
* Add format script to pre-commit hook* build: add husky prepare step* build: add lint-staged* build: add lint-stagedCo-authored-by: rickstaa <rick.staa@outlook.com>
1 parentbcb8ae9 commite8dfbde

File tree

4 files changed

+894
-395
lines changed

4 files changed

+894
-395
lines changed

‎.husky/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

‎.husky/pre-commit‎

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp