Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/archoleat/prettier-define-config

Provide a defineConfig function for Prettier
https://github.com/archoleat/prettier-define-config

archoleat archoleat-prettier-define-config config configuration define-config plugin prettier prettier-config prettier-define-config typescript

Last synced: 4 months ago
JSON representation

Provide a defineConfig function for Prettier

Awesome Lists containing this project

README

        

# Prettier Define Config

![NPM Version](https://img.shields.io/npm/v/%40archoleat%2Fprettier-define-config)
![NPM Downloads](https://img.shields.io/npm/dm/%40archoleat%2Fprettier-define-config)
![ESM](https://img.shields.io/badge/ESM-fe0)
![Provenance](https://img.shields.io/badge/Provenance-fo0)
![CodeQL](https://img.shields.io/github/actions/workflow/status/archoleat/prettier-define-config/codeql.yaml?label=CodeQL)
![Specs](https://img.shields.io/github/actions/workflow/status/archoleat/prettier-define-config/spec.yaml?label=Specs)
![Commitlint](https://img.shields.io/github/actions/workflow/status/archoleat/prettier-define-config/commitlint.yaml?label=Commitlint)
![Editorconfig](https://img.shields.io/github/actions/workflow/status/archoleat/prettier-define-config/editorconfig.yaml?label=Editorconfig)
![Prettier](https://img.shields.io/github/actions/workflow/status/archoleat/prettier-define-config/prettier.yaml?label=Prettier)
![ESLint](https://img.shields.io/github/actions/workflow/status/archoleat/prettier-define-config/eslint.yaml?label=ESLint)
![Remark](https://img.shields.io/github/actions/workflow/status/archoleat/prettier-define-config/remark.yaml?label=Remark)

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Installation

```shell
bun i -D @archoleat/prettier-define-config
```

## Usage

See [Prettier Configuration](https://prettier.io/docs/en/options.html).

Add the following code to the `prettier.config.js` file:

```js
import { defineConfig } from '@archoleat/prettier-define-config';

export default defineConfig({})
```

## Contributing

Please read [**CONTRIBUTING**](https://github.com/archoleat/.github/blob/main/CONTRIBUTING.md)
to start contributing.

## License

This project is licensed under the [**MIT license**](LICENSE).