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 }], 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