Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

prettier-plugin prisma

Last synced: 3 months ago
JSON representation

Prettier plugin for Prisma

Awesome Lists containing this project

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