babel-plugin-generator-prettier
Babel plugin to use prettier for transformed code output
Last updated a year ago by goto-bus-stop .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-generator-prettier 
SYNC missed versions from official npm registry.

babel-plugin-generator-prettier

Babel plugin to use prettier for transformed code output

Requires Babel 7.

npm travis standard

Install

npm install babel-plugin-generator-prettier

Usage

In .babelrc:

{
  "plugins": [
    "generator-prettier"
  ],
  "generatorOpts": {
    "printWidth": 120,
    "semi": false,
    "singleQuote": true
  }
}

Options listed in generatorOpts are passed to prettier.

License

Apache-2.0

Current Tags

  • 1.2.0                                ...           latest (a year ago)

3 Versions

  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 5
This Month 10
Last Day 3
Last Week 2
Last Month 58
Dependencies (3)
Dev Dependencies (6)

Copyright 2014 - 2017 © taobao.org |