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

/fly-prettier/

    Package Sidebar

    Install

    npm i fly-prettier

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • lukeed