prettier-config 2.0.0
Install from the command line:
Learn more about npm packages
$ npm install @smartcar/prettier-config@2.0.0
Install via package.json:
"@smartcar/prettier-config": "2.0.0"
About this version
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.