Warn on console statement
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = {
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"no-console": "off",
|
||||
"no-console": "warn",
|
||||
"react/prop-types": [0],
|
||||
"no-case-declarations": "off"
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.ipcTagHistoryUpdate = ipcTagHistoryUpdate;\nvar IPC_TAGHISTORYUPDATE = exports.IPC_TAGHISTORYUPDATE = \"IPC_TAGHISTORYUPDATE\";\n\nfunction ipcTagHistoryUpdate(event, _ref) {\n\tvar tagName = _ref.tagName,\n\t historyRows = _ref.historyRows;\n\n\tconsole.log(event, tagName, historyRows);\n\treturn {\n\t\ttype: IPC_TAGHISTORYUPDATE,\n\t\tpayload: { tagName: tagName, historyRows: historyRows }\n\t};\n}\n\n//# sourceURL=webpack:///./app/src/actions/actions_taghistory.js?");
|
||||
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.ipcTagHistoryUpdate = ipcTagHistoryUpdate;\nvar IPC_TAGHISTORYUPDATE = exports.IPC_TAGHISTORYUPDATE = \"IPC_TAGHISTORYUPDATE\";\n\nfunction ipcTagHistoryUpdate(event, _ref) {\n\tvar tagName = _ref.tagName,\n\t historyRows = _ref.historyRows;\n\n\treturn {\n\t\ttype: IPC_TAGHISTORYUPDATE,\n\t\tpayload: { tagName: tagName, historyRows: historyRows }\n\t};\n}\n\n//# sourceURL=webpack:///./app/src/actions/actions_taghistory.js?");
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
export const IPC_TAGHISTORYUPDATE = "IPC_TAGHISTORYUPDATE";
|
||||
|
||||
export function ipcTagHistoryUpdate(event, {tagName, historyRows}){
|
||||
console.log(event, tagName, historyRows);
|
||||
return {
|
||||
type: IPC_TAGHISTORYUPDATE,
|
||||
payload: {tagName, historyRows}
|
||||
|
||||
Reference in New Issue
Block a user