From 32ea0bd46a42b7b72a3a324d672b1f25e2a8406c Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 22 Jan 2021 12:31:06 -0800 Subject: [PATCH 1/2] Update .eslintrc.json --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index a3d44488..15a91825 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -50,7 +50,7 @@ "func-call-spacing": "error", "func-name-matching": "error", "func-style": "error", - "id-blacklist": ["error", "cb", "callback"], + "id-denylist": ["error", "cb", "callback"], "indent": ["error", 2, { "SwitchCase": 1 }], From ad151d07453a9f4bf855ae2b3e2e83eb8af8cff4 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 22 Jan 2021 13:31:53 -0800 Subject: [PATCH 2/2] Update run_linter.sh --- scripts/run_linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_linter.sh b/scripts/run_linter.sh index 4d2936cd..fed1f0f5 100755 --- a/scripts/run_linter.sh +++ b/scripts/run_linter.sh @@ -21,7 +21,7 @@ source $(dirname $0)/setup.sh # Install the following node modules if they aren't already installed. -install_node_module eslint 3.18.0 +install_node_module eslint 7.18.0 # Run eslint. ./node_modules/eslint/bin/eslint.js -c ./.eslintrc.json assets/*/*.js client/*.js client/*/*.js client/*/*/*.js client/*/*/*/*.js tests/*.js