From 996b93675572794e0a41da72e617d785ca161bc6 Mon Sep 17 00:00:00 2001 From: yhc <2580577036@qq.com> Date: Sat, 21 Sep 2024 15:11:37 +0800 Subject: [PATCH] chore:add a linter --write precommit hook --- .gitignore | 2 ++ package.json | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 package.json diff --git a/.gitignore b/.gitignore index fee148184..469178fe3 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ tmp/ *.bk .DS_Store + +.husky/ diff --git a/package.json b/package.json new file mode 100644 index 000000000..ffce625b8 --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "devDependencies": { + "husky": "^9.1.6" + } +}