# @lightspeed/config-prettier

> Common Prettier configuration for Lightspeed webapps

Latest version **2.1.0** (published 2025-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lightspeed/config-prettier
pnpm add @lightspeed/config-prettier
yarn add @lightspeed/config-prettier
bun add @lightspeed/config-prettier
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2025-06-26 |
| First published | 2019-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | kurt.bergeron, lightspeedhq, ls-guillaume-lambert, ls-frederic-bouchard, anomen |

## Links

- npm: https://www.npmjs.com/package/@lightspeed/config-prettier
- Repository: https://github.com/lightspeed/web-tools
- Homepage: https://github.com/lightspeed/web-tools#readme
- Issues: https://github.com/lightspeed/web-tools/issues
- npm.io page: https://npm.io/package/@lightspeed/config-prettier

## Recent versions

- 2.1.0 (latest) — 2025-06-26
- 2.0.0 — 2023-10-18
- 1.0.0 — 2020-07-17
- 0.1.2 — 2019-01-18
- 0.1.1 — 2019-01-11
- 0.1.0 — 2019-01-10

## README

# `@lightspeed/config-prettier`

## Introduction

[**Prettier**](https://prettier.io/) configuration in a convenient package.

## Quick Start

1. Install the dependency in your webapp.

```sh
yarn add -D prettier @lightspeed/config-prettier
```

2. Consume the Prettier configuration.

```js
// prettier.config.js
module.exports = require('@lightspeed/config-prettier');
```

3. Optionally, extend the configuration as you see fit.

```js
const baseConfig = require('@lightspeed/config-prettier');

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

---
_Source: https://npm.io/package/@lightspeed/config-prettier · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
