prettier for whole folder code example
Example 1: prettier whole project
prettier --write "**/*.js"
Example 2: prettier "folder" format command line
prettier --print-width 80 --no-semi --single-quote --trailing-comma es5 --write src/**/*.js
prettier --write "**/*.js"
prettier --print-width 80 --no-semi --single-quote --trailing-comma es5 --write src/**/*.js