fly-prettier

1.0.0 • Public • Published

fly-prettier

Prettier plugin for Fly

Install

npm install --save-dev fly-prettier

Usage

exports.lint = function * (fly) {
  yield fly.source('src/**/*.js').prettier({
    semi: false,
    useTabs: true,
    trailingComma: 'es5'
  }).target('dist/js');
}

API

.prettier(options)

All configuration options can be found in Prettier's API documentation.

License

MIT © Luke Edwards

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i fly-prettier

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lukeed