diff options
author | neogy-akash <AKASHNEOGY400@GMAIL.COM> | 2024-10-09 21:57:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 18:27:23 +0200 |
commit | d74fc265de2bca3060da2e6f5ec00371b16e43ca (patch) | |
tree | ee26732d9c92177be316563651d58f9019fe0212 | |
parent | 3ebe89f6be21469702108c85b726a70284adbb91 (diff) | |
download | jquery-d74fc265de2bca3060da2e6f5ec00371b16e43ca.tar.gz jquery-d74fc265de2bca3060da2e6f5ec00371b16e43ca.zip |
Build: Enforce ECMAScript 5 in tests via ESLint
Fixes gh-5542
Closes gh-5563
-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 ceb943dbb..575c93fa4 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -159,11 +159,13 @@ export default [ "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, |