My project is a combination of React and umi framework. The umi framework restricts the submission of code, so the commit specification cannot be submitted.
Here I deleted the lint-staged in package.json
Then open the config file in the .git folder
Find the line hooksPath = .husky and delete it, then submit the code again