Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmy-guzman/prettier-config
💄 My personal prettier config
https://github.com/jimmy-guzman/prettier-config
astro prettier prettier-config tailwindcss
Last synced: 3 months ago
JSON representation
💄 My personal prettier config
- Host: GitHub
- URL: https://github.com/jimmy-guzman/prettier-config
- Owner: jimmy-guzman
- License: mit
- Created: 2024-04-02T23:20:39.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T02:50:51.000Z (5 months ago)
- Last Synced: 2024-08-09T11:04:15.551Z (5 months ago)
- Topics: astro, prettier, prettier-config, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# @jimmy.codes/prettier-config
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/jimmy-guzman/prettier-config/cd.yml?style=flat-square&logo=github-actions)
[![version](https://img.shields.io/npm/v/prettier-config.svg?logo=npm&style=flat-square)](https://www.npmjs.com/package/@jimmy.codes/prettier-config)
[![downloads](https://img.shields.io/npm/dm/prettier-config.svg?logo=npm&style=flat-square)](http://www.npmtrends.com/@jimmy.codes/prettier-config)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://semantic-release.gitbook.io/semantic-release)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square&logo=prettier)](https://github.com/prettier/prettier)> 💄 My personal [prettier](https://prettier.io) config
## 🐣 Features
- Supports `tailwindcss` through [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss)
- Supports `astro` through [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro)
- Ignores `pnpm-lock.yaml`
- Uses `prettier`'s defaults except for `quoteProps` which is set as `"consistent"`## 🛠️ Usage
First you need to install `@jimmy.codes/prettier-config`, for example with `pnpm`:
```
pnpm add -D @jimmy.codes/prettier-config
```Then you can add the `prettier` key to your `package.json`, like so:
```diff
+ "prettier": "@jimmy.codes/prettier-config",
```