the-forest/client/node_modules/eslint-plugin-react/lib/util/report.js

13 lines
235 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
'use strict';
const getMessageData = require('./message');
module.exports = function report(context, message, messageId, data) {
context.report(
Object.assign(
getMessageData(messageId, message),
data
)
);
};