Skip to main content
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
52%
Published
11 months ago (2.0.1)

ByBrick Elevate - Prettier config

npm (scoped) npm

Installation

yarn add -D @bybrick-elevate/prettier-config

Usage

Add a file named .prettierrc to the root of your project with the following content:

"@bybrick-elevate/prettier-config"

or if you need to override some settings:

import prettierConfig from "@bybrick-elevate/prettier-config";

/** @type {import("prettier").Config} */
const config = {
  ...prettierConfig,
  // Add your overrides here
};

export default config;

Add Package

deno add jsr:@bybrick-elevate/prettier-config

Import symbol

import * as prettier_config from "@bybrick-elevate/prettier-config";

---- OR ----

Import directly with a jsr specifier

import * as prettier_config from "jsr:@bybrick-elevate/prettier-config";

Add Package

npx jsr add @bybrick-elevate/prettier-config

Import symbol

import * as prettier_config from "@bybrick-elevate/prettier-config";

Add Package

yarn dlx jsr add @bybrick-elevate/prettier-config

Import symbol

import * as prettier_config from "@bybrick-elevate/prettier-config";

Add Package

pnpm dlx jsr add @bybrick-elevate/prettier-config

Import symbol

import * as prettier_config from "@bybrick-elevate/prettier-config";

Add Package

bunx jsr add @bybrick-elevate/prettier-config

Import symbol

import * as prettier_config from "@bybrick-elevate/prettier-config";