New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prettierx

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettierx

prettierx - less opinionated code formatter fork of prettier

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.8K
decreased by-73.53%
Maintainers
1
Weekly downloads
 
Created
Source

prettierx - less opinionated code formatter fork of prettier

NPM Build Status

Unofficial fork, intended to provide some additional options to help improve consistency with feross/standard and Flet/semistandard. This fork is an attempt to pick up where arijs/prettier-miscellaneous left off.

Language parsers are supported as if this were prettier version 1.15.3 / 1.16.0; old language parsers are deprecated as if this were prettier version 1.15.3 / 1.16.0.

CLI Usage

Quick CLI usage:

prettierx <options> <file(s)>

Additional prettierx options

OptionDefault valueCLI OverrideAPI OverrideDescription
Space before function parenthesesfalse--space-before-function-parenspaceBeforeFunctionParen: <bool>Put a space before function parenthesis.

Input

foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());

Output

foo(
  reallyLongArg(),
  omgSoManyParameters(),
  IShouldRefactorThis(),
  isThereSeriouslyAnotherOne()
);

Contributing

See CONTRIBUTING.md.

FAQs

Package last updated on 06 Jan 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