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: Enable no-jquery/deprecated rules.

Anders Kaseorg215791db1ee4
diff --git a/.eslintrc.json b/.eslintrc.json
index 06fd255ec1a..6a578d7c46e 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -8,6 +8,7 @@
"plugin:import/errors",
"plugin:import/warnings",
"plugin:no-jquery/recommended",
+ "plugin:no-jquery/deprecated",
"plugin:unicorn/recommended",
"prettier"
],
@@ -127,6 +128,12 @@
"yoda": "error"
},
"overrides": [
+ {
+ "files": ["frontend_tests/node_tests/**", "frontend_tests/zjsunit/**"],
+ "rules": {
+ "no-jquery/no-selector-prop": "off"
+ }
+ },
{
"files": ["frontend_tests/puppeteer_lib/**", "frontend_tests/puppeteer_tests/**"],
"globals": {