UNPKG

prettier-check

Version:

Check that all files match prettier code style.

26 lines (15 loc) 610 B
# 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-check ``` ## Usage Use it in the test script in your package.json: ```json "scripts": { "test": "prettier-check src/**/*.js" }, ``` ## License MIT © [Hexacta](https://www.hexacta.com)