Ecosyste.ms: Awesome

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

https://github.com/avocadowastaken/prettier-plugin-prisma

Prettier plugin for Prisma
https://github.com/avocadowastaken/prettier-plugin-prisma

prettier-plugin prisma

Last synced: about 1 month ago
JSON representation

Prettier plugin for Prisma

Lists

README

        

# Prettier plugin for [Prisma](https://github.com/prisma/prisma)

[![Main](https://github.com/umidbekk/prettier-plugin-prisma/actions/workflows/main.yml/badge.svg)](https://github.com/umidbekk/prettier-plugin-prisma/actions/workflows/main.yml)
[![install size](https://packagephobia.com/badge?p=prettier-plugin-prisma)](https://packagephobia.com/result?p=prettier-plugin-prisma)
[![npm version](https://img.shields.io/npm/v/prettier-plugin-prisma.svg)](https://www.npmjs.com/package/prettier-plugin-prisma)
[![npm downloads](https://img.shields.io/npm/dm/prettier-plugin-prisma.svg)](https://www.npmjs.com/package/prettier-plugin-prisma)

![Demo](demo.gif)

### Installation

```bash
npm i -D prettier-plugin-prisma
# or with yarn
yarn add -D prettier-plugin-prisma
```

### Feature requests

This library is built on top of official [prisma-fmt-wasm](https://github.com/prisma/prisma-engines/tree/main/prisma-fmt-wasm),
and all new features are developed there: https://github.com/prisma/prisma-engines/issues?q=fmt

### Supported options

- Tab width: https://prettier.io/docs/en/options.html#tab-width