Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

eslint: Remove unused exemptions to no-unused-vars rule.

Anders Kaseorg40b894350535
diff --git a/.eslintrc.json b/.eslintrc.json
index 6e46a9573cd..d4a286300df 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -73,13 +73,6 @@
"no-undef-init": "error",
"no-unneeded-ternary": ["error", {"defaultAssignment": false}],
"no-unused-expressions": "error",
- "no-unused-vars": [
- "error",
- {
- "vars": "local",
- "varsIgnorePattern": "print_elapsed_time|check_duplicate_ids"
- }
- ],
"no-use-before-define": ["error", {"functions": false}],
"no-useless-concat": "error",
"no-useless-constructor": "error",
diff --git a/static/js/page_params.js b/static/js/page_params.js
index 8364c825406..e61f9a9bac9 100644
--- a/static/js/page_params.js
+++ b/static/js/page_params.js
@@ -1,5 +1,6 @@
"use strict";
+// eslint-disable-next-line no-unused-vars
/* global __webpack_public_path__:writable */
const t1 = performance.now();