format whole folder with prettier 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