aboutsummaryrefslogtreecommitdiffstats
path: root/development/backGroundConnectionModifiers.js
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-05-09 03:51:33 +0800
committerFrankie <frankie.diamond@gmail.com>2019-05-09 03:51:33 +0800
commit094e4cf555c698bfef50ca6679cd1e98f4ea9aa1 (patch)
treecd2b1df66e2a00cc7c24f2c09e28f28f10262a43 /development/backGroundConnectionModifiers.js
parentef8a07c2ce2b1c5fc4ef18f48592b2e7da178c44 (diff)
downloadtangerine-wallet-browser-094e4cf555c698bfef50ca6679cd1e98f4ea9aa1.tar
tangerine-wallet-browser-094e4cf555c698bfef50ca6679cd1e98f4ea9aa1.tar.gz
tangerine-wallet-browser-094e4cf555c698bfef50ca6679cd1e98f4ea9aa1.tar.bz2
tangerine-wallet-browser-094e4cf555c698bfef50ca6679cd1e98f4ea9aa1.tar.lz
tangerine-wallet-browser-094e4cf555c698bfef50ca6679cd1e98f4ea9aa1.tar.xz
tangerine-wallet-browser-094e4cf555c698bfef50ca6679cd1e98f4ea9aa1.tar.zst
tangerine-wallet-browser-094e4cf555c698bfef50ca6679cd1e98f4ea9aa1.zip
Check for unused function arguments (#6583)
* eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
Diffstat (limited to 'development/backGroundConnectionModifiers.js')
-rw-r--r--development/backGroundConnectionModifiers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/backGroundConnectionModifiers.js b/development/backGroundConnectionModifiers.js
index aee68854b..cf1a723d0 100644
--- a/development/backGroundConnectionModifiers.js
+++ b/development/backGroundConnectionModifiers.js
@@ -1,20 +1,20 @@
module.exports = {
'confirm sig requests': {
- signMessage: (msgData, cb) => {
+ signMessage: (_, cb) => {
const stateUpdate = {
unapprovedMsgs: {},
unapprovedMsgCount: 0,
}
return cb(null, stateUpdate)
},
- signPersonalMessage: (msgData, cb) => {
+ signPersonalMessage: (_, cb) => {
const stateUpdate = {
unapprovedPersonalMsgs: {},
unapprovedPersonalMsgCount: 0,
}
return cb(null, stateUpdate)
},
- signTypedMessage: (msgData, cb) => {
+ signTypedMessage: (_, cb) => {
const stateUpdate = {
unapprovedTypedMessages: {},
unapprovedTypedMessagesCount: 0,