Smartcar's sharable prettier configuration file.
-
Authenticate with GitHub package registry by following these steps.
-
npm install --save-dev @smartcar/prettier-config
-
Create a
.prettierrc.js
file in the root of your project containing the following:'use strict'; module.exports = require('@smartcar/prettier-config');
npx prettier --write [filename ...]
See CLI · Prettier for more.
- @smartcar/zamboni - Combines this config with ESLint + Husky
- @smartcar/eslint-config - ESLint shareable config for Smartcar
MIT © Smartcar, Inc.