Hi All, 

Can anyone tell me if it's possible to pipe a browserify bundle into eslint 
using the browserify API ?

I have the following:

var fs = require("fs");
var browserify = require("browserify");
var babelify = require("babelify");
var linter = require("eslint").linter;

browserify({ debug: true })
  .transform(babelify)
  .require("./script.js", { entry: true })
  .bundle()
  .on("error", function (err) {
    console.log("Error : " + err.message);
  })
 .pipe(fs.createWriteStream("bundle.js"));


Another question would be, if this were possible where would the pipe 
happen ?
I assume before the transform from babelify ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to