commit | e832a13f72eb67e6d4e06f5163b88b3d269d339a | [log] [tgz] |
---|---|---|
author | Guillermo Cruz <guillermo.cruz@slashdotmedia.com> | Mon Mar 04 10:27:19 2024 -0700 |
committer | Dave Brondsema <dbrondsema@slashdotmedia.com> | Fri Mar 08 12:18:30 2024 -0500 |
tree | a83f34d97336217717bdfe2ed3f8368b7d600a6c | |
parent | 4bed769841e8981cb4fa4ae3803b6fe3dab3282e [diff] |
[#8537] allow 'this' in JS functions, a common jquery pattern we use
diff --git a/.eslintrc-es5 b/.eslintrc-es5 index 493b774..880f708 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