Package Exports
- prettierx
- prettierx/bin-prettierx.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prettierx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
prettierx - less opinionated code formatter fork of prettier
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
| Option | Default value | CLI Override | API Override | Description |
|---|---|---|---|---|
| Space before function parentheses | false |
--space-before-function-paren |
spaceBeforeFunctionParen: <bool> |
Put a space before function parenthesis. |
Input
foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());Output
foo(
reallyLongArg(),
omgSoManyParameters(),
IShouldRefactorThis(),
isThereSeriouslyAnotherOne()
);Contributing
See CONTRIBUTING.md.
