0.0.1 • Published 6 years ago

@kamicane/prettier-plugin-prettierx-babel v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

prettier-plugin-prettierx-babel

Use Babel JavaScript parser with enhanced estree printer from prettierx, all in a Prettier plugin.

With options from prettierx to support much closer parity with "Standard JS", for example:

function * a () {}

with the following config:

{
  generatorStarSpacing: true,
  spaceBeforeFunctionParen: true
}

Sample usage

prettier --config ./sample-prettierx-prettierrc --plugin=. --parser=prettierx-babel --check sample.js

Thanks and credits

0.0.1

6 years ago