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

@monteway/prettier

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monteway/prettier

Basic Prettier config for Monterail projects

  • 0.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@monteway/prettier

Very basic configuration for Prettier.

Install

npm i -D prettier @monteway/prettier

Usage

Simply create your Prettier config file with following content:

module.exports = require('@monteway/prettier/config');

Defaults

This is the default configuration for Prettier.
For the sake of consistency between projects it should not be changes or overwritten.

{
  // Max line length is 100 characters.
  printWidth: 100,

  // Put semicolons always.
  semi: true,

  // Use single quotes.
  singleQuote: true,

  // Identation should be 2 spaces.
  tabWidth: 2,

  // Put commas whenever possible.
  trailingComma: 'all',
}

Keywords

FAQs

Package last updated on 27 Apr 2023

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