@taskr/prettier
v1.1.0
Published
Prettier plugin for Taskr
Downloads
5
Maintainers
Readme
@taskr/prettier
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