Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/umidbekk/prettier-plugin-prisma
- Owner: avocadowastaken
- License: mit
- Created: 2021-01-30T17:40:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-04T07:46:16.000Z (9 months ago)
- Last Synced: 2024-04-13T16:12:46.071Z (7 months ago)
- Topics: prettier-plugin, prisma
- Language: JavaScript
- Homepage:
- Size: 2.49 MB
- Stars: 211
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-prisma - prettier-plugin-prisma
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