prettier-config 0.0.5
Install from the command line:
Learn more about npm packages
$ npm install @github/prettier-config@0.0.5
Install via package.json:
"@github/prettier-config": "0.0.5"
About this version
Prettier config used at GitHub
Install the package using npm
(or yarn
)
npm install --save-dev @github/prettier-config
Add the prettier
key to your package.json
diff --git a/package.json b/package.json
index 2ecef3d..260838f 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
"keywords": [
"prettier"
],
+ "prettier": "@github/prettier-config",
"license": "MIT",
"author": "GitHub Inc.",
"main": "index.js"
Check out the prettier
documentation for more info on sharing configurations.