0.2.0 • Published 2 years ago
@coreyander/prettier-config v0.2.0
@coreyander/prettier-config
A shared configuration file for Prettier.
Installation
These packages are published to Github's package registry. A personal access token (PAT) is needed in order to install them into a project. See Authenticating with a personal access token.
Install with yarn
yarn add @coreyander/prettier-config -D
Configuration
There are several options for configuring Prettier in your application. One is as a key in package.json
:
{
"name": "my-cool-library",
"version": "9000.0.1",
"prettier": "@coreyander/prettier-config"
}
If you don’t want to use package.json
, you can use any of the supported extensions to export a string, e.g. .prettierrc.json
:
"@coreyander/prettier-config"
For more configuration options, see Pretter's documentation on sharing configurations.
0.2.0
2 years ago