@taskr/prettier

1.1.0 • Public • Published

@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

Package Sidebar

Install

npm i @taskr/prettier

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • lukeed