Add ignored lint rules

pull/12735/head
Jesús Arroyo Torrens 7 years ago
parent 8ef0c70b27
commit deeb20a7f0

@ -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;
}

Loading…
Cancel
Save