Constnium/node_modules/eslint/lib/cli-engine/formatters/json.js

14 lines
349 B
JavaScript
Raw Normal View History

2022-06-23 02:27:43 +02:00
/**
* @fileoverview JSON reporter
* @author Burak Yigit Kaya aka BYK
*/
"use strict";
//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
module.exports = function(results) {
return JSON.stringify(results);
};