Skip to content

Caspeco/prettier-config

Repository files navigation

prettier-config

Shared config for prettier

Usage

Option 1: Git reference

npm i @caspeco/prettier-config
 // package.json
 {
   "name": "my-project",
   "version": "1.0.0",
+  "prettier": "@caspeco/prettier-config"
 }

Set a local environment variable named GPR_PRIVATE_READ_TOKEN which contains the token created above.

Add the package using the version you want at the Github Package.

Contributing

  • Create a PAT (Classic) on Github with the scope "Packages: Read".
  • Set an environment variable locally named GPR_PRIVATE_READ_TOKEN to the PAT created
  • Run npm install