Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@archoleat/prettier-define-config

archoleat892MIT1.1.0TypeScript support: included

Provide a defineConfig function for Prettier

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

readme

Prettier Define Config

NPM Version NPM Downloads ESM Provenance CodeQL Specs Commitlint Editorconfig Prettier ESLint Remark

Table of Contents

Installation

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

Usage

See Prettier Configuration.

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

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

export default defineConfig({})

Contributing

Please read CONTRIBUTING to start contributing.

License

This project is licensed under the MIT license.

changelog

Changelog

1.1.0 (2024-09-28)

Features

Code Refactoring

1.0.3 (2024-09-22)

Code Refactoring

Documentation

1.0.2 (2024-08-30)

Bug Fixes

Code Refactoring

Documentation

1.0.1 (2024-08-09)

Code Refactoring

1.0.0 (2024-08-09)

Features

  • define config for prettier (7d76a8b)
  • define config for prettier (#4) (1d19f06)