Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 864 Bytes

readme.md

File metadata and controls

38 lines (24 loc) · 864 Bytes

@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