@github/prettier-config

0.0.6 • Public • Published

prettier-config

Prettier config used at GitHub

Usage

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.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @github/prettier-config

    Weekly Downloads

    3,983

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    2.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • andrialexandrou
    • jfuchs
    • githubbot
    • manuelpuyol
    • jonrohan
    • broccolini
    • primer-css
    • keithamus
    • mschoening
    • colebemis
    • smockle
    • simurai
    • khiga8
    • dustin.greif
    • srt32