summaryrefslogtreecommitdiff
path: root/tools/eslint-rules/crypto-check.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-11-09 14:27:12 +0000
committerJames M Snell <jasnell@gmail.com>2017-11-13 12:30:29 -0800
commitbf2b5e1d5c239a1b4ea812051ec82101e1ce4347 (patch)
treead1c31dfa291c7497c2c791236d1a920012c2e2b /tools/eslint-rules/crypto-check.js
parentdbb3c00d9d9abd464d7fb01e3b38a7351c82a4d9 (diff)
downloadandroid-node-v8-bf2b5e1d5c239a1b4ea812051ec82101e1ce4347.tar.gz
android-node-v8-bf2b5e1d5c239a1b4ea812051ec82101e1ce4347.tar.bz2
android-node-v8-bf2b5e1d5c239a1b4ea812051ec82101e1ce4347.zip
tools: remove unused trailing function arguments
Update tools/doc/html.js and tools/eslint-rules/crypto-check.js to remove unused trailing function arguments in preparation for enabling a lint rule to enforce that practice. PR-URL: https://github.com/nodejs/node/pull/16953 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'tools/eslint-rules/crypto-check.js')
-rw-r--r--tools/eslint-rules/crypto-check.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint-rules/crypto-check.js b/tools/eslint-rules/crypto-check.js
index b1b2a03f50..9d24d3355d 100644
--- a/tools/eslint-rules/crypto-check.js
+++ b/tools/eslint-rules/crypto-check.js
@@ -54,7 +54,7 @@ module.exports = function(context) {
}
}
- function reportIfMissingCheck(node) {
+ function reportIfMissingCheck() {
if (hasSkipCall) {
return;
}