$ npm install --save-dev @taskr/prettier
exports.lint = function * (task) {
yield task.source('src/**/*.js').prettier({
semi: false,
useTabs: true,
trailingComma: 'es5'
}).target('dist/js');
}
All configuration options can be found in Prettier's API documentation.
Any issues or questions can be sent to the Taskr monorepo.
Please be sure to specify that you are using @taskr/prettier
.
MIT © Luke Edwards