Only spaces are allowed

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent 4d6af79abf
commit 40c78f9040
  1. 4
      BuildServer/lib/tasks/dotnetcheckstyle.js

@ -53,6 +53,10 @@ module.exports = function (params, processor) {
processor.onError("Both tabs and spaces found in file " + file); processor.onError("Both tabs and spaces found in file " + file);
} }
if (data.indexOf("\t") >= 0) {
processor.onError("Tabs found in file " + file);
}
processor.onInfo("Checked file " + file); processor.onInfo("Checked file " + file);
callback(); callback();
}); });

Loading…
Cancel
Save