git pre-commit for verifying commit-msg and eslint, then prettier
npm install git-lints
that's all! when you do 'git commit', it will lint commit-msg、code and prettier.