@ -11,5 +11,12 @@
"grunt": true
},
"rules": {
"camelcase": "off",
"indent": "off",
"no-mixed-operators": "off",
"no-useless-escape": "off",
"no-useless-computed-key": "off",
"no-multiple-empty-lines": "off",
"no-useless-return": "off"
}
@ -44,6 +44,9 @@ function getTargetDiff () {
var target = require('child_process').execSync('(git diff --name-only --relative; git diff origin/master.. --name-only --relative) | grep \'\\.js\\?$\'').toString();
target = target.split('\n');
target.splice(-1, 1);
if (target.length === 0 || true) {
target = ['.'];
return target;