# prettier-check

> Check that all files match prettier code style.

Latest version **2.0.0** (published 2017-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install prettier-check
pnpm add prettier-check
yarn add prettier-check
bun add prettier-check
```

Provides the command `prettier-check`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-09-24 |
| First published | 2017-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 53 |
| Author | pomber |
| Maintainers | pomber |
| Keywords | prettier, ci, check, lint, style, formatter, code-style |

## Links

- npm: https://www.npmjs.com/package/prettier-check
- Repository: https://github.com/hexacta/prettier-check
- Homepage: https://github.com/hexacta/prettier-check#readme
- Issues: https://github.com/hexacta/prettier-check/issues
- npm.io page: https://npm.io/package/prettier-check

## Dependencies (1)

- [execa](https://npm.io/package/execa.md) ^0.6.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2017-09-24
- 1.0.0 — 2017-03-05

## README

# prettier-check [![Build Status](https://travis-ci.org/hexacta/prettier-check.svg?branch=master)](https://travis-ci.org/hexacta/prettier-check) [![npm version](https://img.shields.io/npm/v/prettier-check.svg?style=flat)](https://www.npmjs.com/package/prettier-check)

> Check that all files match [prettier](https://github.com/prettier/prettier) code style.


## Install

```
$ npm install --save-dev prettier prettier-check
```

> Make sure you have `prettier` as a dependency (or globally).

## Usage

Use it in the test script in your package.json:

```json
  "scripts": {
    "test": "prettier-check src/**/*.js"
  },
```

All args are forwarded to prettier:

```json
  "scripts": {
    "test": "prettier-check --single-quote --trailing-comma es5 src/**/*.js"
  },
```

## License

MIT © [Hexacta](https://www.hexacta.com)

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