first commit
This commit is contained in:
12
node_modules/eslint-plugin-react/lib/util/report.js
generated
vendored
Normal file
12
node_modules/eslint-plugin-react/lib/util/report.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const getMessageData = require('./message');
|
||||
|
||||
module.exports = function report(context, message, messageId, data) {
|
||||
context.report(
|
||||
Object.assign(
|
||||
getMessageData(messageId, message),
|
||||
data
|
||||
)
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user