]> git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/formatters/test/simple.js
first commit
[pve-eslint.git] / eslint / tests / fixtures / formatters / test / simple.js
1 /*global module*/
2 module.exports = function(results) {
3
4 var output = "";
5
6 results.forEach(function(result) {
7
8 var messages = result.messages;
9 messages.forEach(function(message) {
10 output += "Problem on line " + (message.line || 0) + "\n";
11 });
12
13 });
14
15 return output;
16 };