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

@mastermindzh/prettier-config

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mastermindzh/prettier-config

My preferred prettier config

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
33
decreased by-31.25%
Maintainers
1
Weekly downloads
 
Created
Source

@mastermindzh/prettier-config

My preferred prettier configuration.

  • Installation
  • Configuration

Installation

Simply install the package with npm:

npm install --save-dev @mastermindzh/prettier-config

Configuration

Configuring your project to use @mastermindzh/prettier-config can be done in several ways.
The easiest is the package.json solution, the most extensible is the .prettierrc.js version.

package.json

Simply add a "prettier" key with the package name:

{
  "prettier": "@mastermindzh/prettier-config"
}

.prettierrc.js

This solution requires you to put a .prettierrc.js file at the root of your project with the following code:

module.exports = {
  ...require("@mastermindzh/prettier-config"),
  // optional overrides:
  jsxBracketSameLine: true
};

Keywords

FAQs

Package last updated on 16 Jun 2019

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