@lightspeed/config-prettier
v2.0.0
Published
Common Prettier configuration for Lightspeed webapps
Downloads
6,662
Keywords
Readme
@lightspeed/config-prettier
Introduction
Prettier configuration in a convenient package.
Quick Start
- Install the dependency in your webapp.
yarn add -D prettier @lightspeed/config-prettier
- Consume the Prettier configuration.
// prettier.config.js
module.exports = require('@lightspeed/config-prettier');
- Optionally, extend the configuration as you see fit.
const baseConfig = require('@lightspeed/config-prettier');
module.exports = Object.assign(baseConfig, {
printWidth: 120,
});