Skip to content

sorioinc/gulp-prettier-eslint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%