Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcalexiei/prettier-config


https://github.com/marcalexiei/prettier-config

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# `@marcalexiei/prettier-config`

[![CI](https://github.com/marcalexiei/prettier-config/actions/workflows/CI.yml/badge.svg)](https://github.com/marcalexiei/prettier-config/actions/workflows/CI.yml)
[![Code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![npm version](https://img.shields.io/npm/v/@marcalexiei/prettier-config.svg?style=flat-square)](https://www.npmjs.com/package/@marcalexiei/prettier-config)
[![issues](https://img.shields.io/github/issues/marcalexiei/prettier-config.svg)](https://github.com/marcalexiei/prettier-config/issues)

A custom prettier config

> [!NOTE]
> Most of all properties have default value but I prefer to have them explicit

## Usage

**Install**:

```shell
pnpm add -D prettier @marcalexiei/prettier-config
```

```shell
yarn add -D prettier @marcalexiei/prettier-config
```

```shell
npm install ---save-dev prettier @marcalexiei/prettier-config
```

**Configuration:**

Add the following line to your `package.json`

```text
"prettier": "@marcalexiei/prettier-config"
```

```jsonc
{
// ...
"prettier": "@marcalexiei/prettier-config",
// ...
}
```