Warn on console statement
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = {
|
|||||||
"error",
|
"error",
|
||||||
"always"
|
"always"
|
||||||
],
|
],
|
||||||
"no-console": "off",
|
"no-console": "warn",
|
||||||
"react/prop-types": [0],
|
"react/prop-types": [0],
|
||||||
"no-case-declarations": "off"
|
"no-case-declarations": "off"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n
|
|||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"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 const IPC_TAGHISTORYUPDATE = "IPC_TAGHISTORYUPDATE";
|
||||||
|
|
||||||
export function ipcTagHistoryUpdate(event, {tagName, historyRows}){
|
export function ipcTagHistoryUpdate(event, {tagName, historyRows}){
|
||||||
console.log(event, tagName, historyRows);
|
|
||||||
return {
|
return {
|
||||||
type: IPC_TAGHISTORYUPDATE,
|
type: IPC_TAGHISTORYUPDATE,
|
||||||
payload: {tagName, historyRows}
|
payload: {tagName, historyRows}
|
||||||
|
|||||||
Reference in New Issue
Block a user