1.1.0 • Published 7 years ago

gulp-prettier-eslint v1.1.0

Weekly downloads
87
License
MIT
Repository
github
Last release
7 years ago

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