You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2024/03/08 17:49:11 UTC
(allura) 02/03: [#8537] allow 'this' in JS functions, a common jquery pattern we use
This is an automated email from the ASF dual-hosted git repository.
brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit e832a13f72eb67e6d4e06f5163b88b3d269d339a
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Mon Mar 4 10:27:19 2024 -0700
[#8537] allow 'this' in JS functions, a common jquery pattern we use
---
.eslintrc-es5 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.eslintrc-es5 b/.eslintrc-es5
index 493b774e1..880f708b3 100644
--- a/.eslintrc-es5
+++ b/.eslintrc-es5
@@ -18,7 +18,7 @@
// disallow use of eval()-like methods
"no-implied-eval": 2,
// disallow this keywords outside of classes or class-like objects
- "no-invalid-this": 2,
+ "no-invalid-this": 0,
// disallow creation of functions within loops
"no-loop-func": 2,
// disallow declaring the same variable more then once