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

Package detail

@spear-ai/prettier-config

spear-ai670MIT3.0.0TypeScript support: included

Spear AI Prettier config

readme

@spear-ai/prettier-config

A Prettier config.

Installation

yarn add -D @spear-ai/prettier-config @types/prettier prettier

Usage

Add the following to your prettier.config.cjs file:

const basePrettierConfig = require("@spear-ai/prettier-config");

/** @type {import("prettier").Config} */
const prettierConfig = {
  ...basePrettierConfig,
};

module.exports = prettierConfig;

changelog

@spear-ai/prettier-config

3.0.0

Major Changes

Patch Changes

2.2.0

Minor Changes

  • #447 fbda291 Thanks @psirenny! - Modified Prettier config to remove whitespaces in React element class names.

2.1.1

Patch Changes

2.1.0

Minor Changes

2.0.7

Patch Changes

2.0.6

Patch Changes

  • #369 c3eef18 Thanks @alexjbuck! - Increased the peer dependency range of prettier-config to include Prettier versions 3.

2.0.5

Patch Changes

2.0.4

Patch Changes

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

Major Changes

Patch Changes