When git commit submits the code, when eslint verification occurs, how to directly skip the detection of the submitted code?

Because I received a project that included various eslint code verifications, it took a long time to submit but it was not submitted. I want to find a violent method to submit directly. as follows.

Method:
Find the root directory of the project,
find the git hidden file
, find the /git/hooks/pre-commit file,
and delete it directly by force.
You can submit the code directly on the command line or sourcetree.

Guess you like

Origin blog.csdn.net/m54584mnkj/article/details/132489956