Given an invocation of prettier in package.json like this:
"scripts": {
"prettier": "prettier --write --single-quote --no-semi --trailing-comma es5 --print-width 80 \"*.js\""
},
Move the options to a config variable like this:
"scripts": {