Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cprussin/prettier-config

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cprussin/prettier-config

A shared prettier config (currently empty)

  • 2.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
263
decreased by-39.4%
Maintainers
1
Weekly downloads
 
Created
Source

@cprussin/prettier-config v2.1.1Docs


@cprussin/prettier-config v2.1.1

This package contains a prettier config. It's empty right now, and only exists to be a convenient place to add configs in the future if I ever need to such that I'll apply them consistently across my projects.

Installing

Use the package manager of your choice to install:

  • npm: npm install --save-dev @cprussin/prettier-config
  • pnpm: pnpm add -D @cprussin/prettier-config
  • yarn: yarn add -D @cprussin/prettier-config

Usage

Just export the config from your prettier config file. For example, in prettier.config.js:

export { base as default } from "@cprussin/prettier-config";

If you want to combine configs or take the base config and extend it you use mergeConfigs, like so:

import { base, tailwind, mergeConfigs } from "@cprussin/prettier-config";

export default mergeConfigs([
  base,
  tailwind('./tailwind.config.js'),
  { someSetting: "some-value" }
]);

Variables

  • base

Functions

Keywords

FAQs

Package last updated on 03 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc