Skip to content

Smartcar's prettier config file

License

Notifications You must be signed in to change notification settings

smartcar/prettier-config

Repository files navigation

@smartcar/prettier-config Build Status Greenkeeper

Smartcar's sharable prettier configuration file.

Installation

  1. Authenticate with GitHub package registry by following these steps.

  2. npm install --save-dev @smartcar/prettier-config

  3. Create a .prettierrc.js file in the root of your project containing the following:

    'use strict';
    
    module.exports = require('@smartcar/prettier-config');

Usage

npx prettier --write [filename ...]

See CLI · Prettier for more.

Related

License

MIT © Smartcar, Inc.