1.0.2 • Published 3 years ago
precommit-prettier-write v1.0.2
ppw
Execute ppw to select files whose type is modified, and divide the code of prettier and change into two submissions, reducing the workload of code reviewers.
Installation
npm i -g precommit-prettier-write
Description
- After the modification of the code is completed, execute
ppw git statusThe list viewed by git status, they are the modified files that have completed prettier write, only support the suffixes of.ts,.js,.tsx.git commitcode in stage.git stash popmay have conflicts at this time. After resolving the conflicts, you can submit. This modification is only a modification of non-code formatting.