1.1.0 • Published 7 years ago

@taskr/prettier v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

@taskr/prettier npm

Prettier plugin for Taskr.

Install

$ npm install --save-dev @taskr/prettier

Usage

exports.lint = function * (task) {
  yield task.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.

Support

Any issues or questions can be sent to the Taskr monorepo.

Please be sure to specify that you are using @taskr/prettier.

License

MIT © Luke Edwards