Software Tools
Implement eslint/stylelint's interception verification when submitting git
(Original compilation, if you have any questions, you can private message. If it is useful, thank you for your praise~) The effect you want to achieve: When we submit the code, first automatically use the eslint/stylelint check code, and automatically fix the error If it cannot be repaired, an error will be reported. And this commit will not be submitted after the error is reported No effect on the old code, only the code in the git commit part is verified Introduction to the tools used installa