Validate files with XO
Issues regarding rules should be reported on the ESLint issue tracker as it's the actual linter.
$ npm install --save-dev gulp-xo
const gulp = ;const xo = ;exportsgulp;
This option instructs ESLint to try to fix as many issues as possible. The fixes are applied to the gulp stream. The fixed content can be saved to file using
gulp.dest (See example/fix.js). Rules that are fixable can be found in ESLint's rules list.
When fixes are applied, a "fixed" property is set to
true on the fixed file's ESLint result.
Report errors only.