Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcalexiei/prettier-config
https://github.com/marcalexiei/prettier-config
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/marcalexiei/prettier-config
- Owner: marcalexiei
- Created: 2024-10-18T03:26:40.000Z (22 days ago)
- Default Branch: main
- Last Pushed: 2024-10-25T06:32:46.000Z (15 days ago)
- Last Synced: 2024-10-26T16:59:07.080Z (13 days ago)
- Language: TypeScript
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
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",
// ...
}
```