
To be followed by tests and `npm run build`, obviously! Reviewed-on: #1 Co-authored-by: Jack Jackson <scubbojj@gmail.com> Co-committed-by: Jack Jackson <scubbojj@gmail.com>
17 lines
408 B
JavaScript
17 lines
408 B
JavaScript
/**
|
|
* @fileoverview JSON reporter, including rules metadata
|
|
* @author Chris Meyer
|
|
*/
|
|
"use strict";
|
|
|
|
//------------------------------------------------------------------------------
|
|
// Public Interface
|
|
//------------------------------------------------------------------------------
|
|
|
|
module.exports = function(results, data) {
|
|
return JSON.stringify({
|
|
results,
|
|
metadata: data
|
|
});
|
|
};
|