Socket
Socket
Sign inDemoInstall

@pact-foundation/pact-js-prettier-config

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pact-foundation/pact-js-prettier-config

Prettier config for developers working on pact-js and related repositories


Version published
Weekly downloads
53
decreased by-90.35%
Maintainers
1
Install size
2.91 kB
Created
Weekly downloads
 

Readme

Source

Pact-JS Developer Prettier config

This is the prettier config for pact-js projects, used to keep consistency across the projects. Please use these options to format any new pact projects.

It's hosted at https://github.com/pact-foundation/pact-js-dev-config, which contains shared config for javascript (and related) pact projects.

It's essentially default prettier settings, with single quotes added. See this excellent documentation page on prettier's option philosophy.

How do I use it?

Add this to your package.json:

  "prettier": "@pact-foundation/pact-js-prettier-config"

Or if you use .prettierrc.json:

"@pact-foundation/pact-js-prettier-config"

See here for details.

Can I use this to format something that isn't a pact project?

I mean, sure, if you like. We're not the boss of you.

Keywords

FAQs

Last updated on 19 Apr 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc