Skip to content

Instantly share code, notes, and snippets.

@vinodsobale
Created October 4, 2017 06:21
Show Gist options
  • Save vinodsobale/5f6cc49da4b109171f53d2de59b80a24 to your computer and use it in GitHub Desktop.
Save vinodsobale/5f6cc49da4b109171f53d2de59b80a24 to your computer and use it in GitHub Desktop.
Prettier Format Command
{
"name": "viu-browser-2.0",
"version": "0.1.0",
"private": true,
"devDependencies": {
"prettier": "^1.7.4",
},
"scripts": {
"format": "prettier --write --single-quote --print-width=120 --tab-width=2 \"src/**/*.{js,jsx}\""
},
"main": "index.js",
"license": "MIT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment