gulp-prettier-eslint

1.1.0 • Public • Published

Gulp Prettier Eslint

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)

Usage

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'))
});

License

MIT License

Package Sidebar

Install

npm i gulp-prettier-eslint

Weekly Downloads

158

Version

1.1.0

License

MIT

Last publish

Collaborators

  • sorioinc