A Gulp plugin which allows the users to use Prettier Eslint.
Prettier is an opinionated JavaScript formatter inspired by refmt with advanced support for language features from ES2017, JSX, and Flow. It removes all original styling and ensures that all outputted JavaScript conforms to a consistent style. (See this blog post)
Simply pipe the input.
const gulp = require('gulp'),
prettierEslint = require('gulp-prettier-eslint');
gulp.task('default', () => {
gulp.src('*.js')
.pipe(prettierEslint())
.pipe(gulp.dest('./dist'))
});