# @pxblue/prettier-config

> Prettier config for PXBlue

Latest version **1.0.3** (published 2021-04-27) · BSD-3-Clause license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @pxblue/prettier-config
pnpm add @pxblue/prettier-config
yarn add @pxblue/prettier-config
bun add @pxblue/prettier-config
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-04-27 |
| First published | 2019-11-01 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | PX Blue |
| Maintainers | px-blue |
| Keywords | prettier, prettierconfig, pxblue, formatting |

## Links

- npm: https://www.npmjs.com/package/@pxblue/prettier-config
- Repository: https://github.com/pxblue/code-standards
- Homepage: https://github.com/pxblue/code-standards/tree/master/prettier-config#readme
- Issues: https://github.com/pxblue/code-standards/issues
- npm.io page: https://npm.io/package/@pxblue/prettier-config

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2021-04-27
- 1.0.2 — 2020-01-21
- 1.0.2-beta.0 — 2020-01-21
- 1.0.1 — 2019-11-13
- 1.0.0 — 2019-11-04
- 1.0.0-alpha.1 — 2019-11-01
- 1.0.0-alpha.0 — 2019-11-01

## README

# PX Blue Prettier Configuration
[![](https://img.shields.io/npm/v/@pxblue/prettier-config?label=%40pxblue%2Fprettier-config&style=flat)](https://www.npmjs.com/package/@pxblue/prettier-config) 

This package contains the PXBlue prettier and editorconfig profiles used to enforce consistent code style.

## Installation
From the root of your project, install prettier:  

`yarn add --dev prettier`

and the PX Blue prettier config:

`yarn add --dev @pxblue/prettier-config`

## Configuration
Add the following script to your `package.json`.
```
"prettier": "@pxblue/prettier-config",
"scripts": {
    "prettier": "prettier \"src/**/**.{ts,tsx,js,jsx,json,css,scss,html}\" --write",
}
```
The `--write` flag will automatically fix all code style violations. 

> You can update the file extensions list to suit the particular files you would like to format.

## Usage
To format the files in your project, run `yarn prettier`.

---
_Source: https://npm.io/package/@pxblue/prettier-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
