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: Re-enable no-undef for TypeScript.

Anders Kaseorg31e865d9edc9
diff --git a/.eslintrc.json b/.eslintrc.json
index d9980294e3b..2e099ffcd78 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -114,6 +114,15 @@
"location": false
}
},
+ {
+ "files": ["frontend_tests/puppeteer_lib/**", "frontend_tests/puppeteer_tests/**"],
+ "globals": {
+ "$": false,
+ "current_msg_list": false,
+ "page_params": false,
+ "zulip_test": false
+ }
+ },
{
"files": ["static/js/**"],
"globals": {
@@ -161,7 +170,8 @@
"@typescript-eslint/prefer-regexp-exec": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error",
- "@typescript-eslint/unified-signatures": "error"
+ "@typescript-eslint/unified-signatures": "error",
+ "no-undef": "error"
}
},
{