eslint-git-changes
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -77,3 +77,3 @@ var extname = require('path').extname; | ||
function lintFiles (files) { | ||
var child = spawn('eslint', files, { encoding: 'utf8', stdio: 'inherit' }); | ||
var child = spawn('eslint', files, { encoding: 'utf8', shell: true, stdio: 'inherit' }); | ||
child.on('close', function (code) { | ||
@@ -80,0 +80,0 @@ process.exit(code); |
{ | ||
"name": "eslint-git-changes", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Run eslint on added and modified javascript/json/jsx files in your git working tree", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4860
6