@lightspeed/config-prettier

2.0.0 • Public • Published

@lightspeed/config-prettier

Introduction

Prettier configuration in a convenient package.

Quick Start

  1. Install the dependency in your webapp.
yarn add -D prettier @lightspeed/config-prettier
  1. Consume the Prettier configuration.
// prettier.config.js
module.exports = require('@lightspeed/config-prettier');
  1. Optionally, extend the configuration as you see fit.
const baseConfig = require('@lightspeed/config-prettier');

module.exports = Object.assign(baseConfig, {
  printWidth: 120,
});

Readme

Keywords

none

Package Sidebar

Install

npm i @lightspeed/config-prettier

Weekly Downloads

1,350

Version

2.0.0

License

MIT

Unpacked Size

2.18 kB

Total Files

4

Last publish

Collaborators

  • kurt.bergeron
  • lightspeedhq
  • ls-guillaume-lambert
  • ls-frederic-bouchard
  • anomen