Nature's Particle Manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

prettier-check

2.0.0 • Public • Published

prettier-check Build Status npm version

Check that all files match 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:

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

All args are forwarded to prettier:

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

License

MIT © Hexacta

install

npm i prettier-check

Downloadsweekly downloads

7,852

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability