Skip to content

jackson/gulp-xo

 
 

Repository files navigation

gulp-xo Build Status

Validate files with XO

Issues regarding rules should be reported on the ESLint issue tracker as it's the actual linter.

Install

$ npm install --save-dev gulp-xo

Usage

const gulp = require('gulp');
const xo = require('gulp-xo');

gulp.task('default', () =>
	gulp.src('src/app.js')
		.pipe(xo())
		.pipe(gulp.dest('dist'))
);

API

xo([options])

options

XO options can be specified in package.json.

In the gulpfile you can specify the following options:

reporter

Type: string
Default: eslint-formatter-pretty

Any ESLint reporter.

quiet

Type: boolean
Default: false

Report errors only.

License

MIT © Sindre Sorhus

About

Validate files with XO

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%