#!/usr/bin/env node
var cli = require('eslint/lib/cli');

var path = require('path');
var eslintConfig = path.join(__dirname, '..', 'index.js');

try {
  var argv = process.argv;
  argv.push('--config=' + eslintConfig);
  cli.execute(argv);
} catch (ex) {
  console.error(ex.message);
  console.error(ex.stack);
}
@@ -143,16 +143,8 @@
 );%0A%0A
-try %7B%0A  
 var 
@@ -164,18 +164,16 @@
 s.argv;%0A
-  
 argv.pus
@@ -203,18 +203,16 @@
 onfig);%0A
-  
 cli.exec
@@ -226,76 +226,4 @@
 v);%0A
-%7D catch (ex) %7B%0A  console.error(ex.message);%0A  console.error(ex.stack);%0A%7D

Make eslint fail on error.