diff options
author | neogy-akash <AKASHNEOGY400@GMAIL.COM> | 2024-10-09 21:57:23 +0530 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-10-09 18:27:45 +0200 |
commit | ce7db4adf0524afe1cdac2937374f2aeba073845 (patch) | |
tree | 3822d3fede1bee0c44a4e5b69c430a1935ef1373 | |
parent | 92a437bed2e933fac19d1f6c0a23271be6800482 (diff) | |
download | jquery-ce7db4adf0524afe1cdac2937374f2aeba073845.tar.gz jquery-ce7db4adf0524afe1cdac2937374f2aeba073845.zip |
Build: Enforce ECMAScript 5 in tests via ESLint
Fixes gh-5542
Closes gh-5563
(cherry picked from commit d74fc265de2bca3060da2e6f5ec00371b16e43ca)
-rw-r--r-- | eslint.config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eslint.config.js b/eslint.config.js index 37dc57bf3..b1a237865 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -122,11 +122,13 @@ module.exports = [ "test/data/core/jquery-iterability-transpiled.js" ], languageOptions: { - ecmaVersion: 2015, + ecmaVersion: 5, sourceType: "script", globals: { ...globals.browser, require: false, + Promise: false, + Symbol: false, trustedTypes: false, QUnit: false, ajaxTest: false, |