Skip to content

Commit d74fc26

Browse files
authored
Build: Enforce ECMAScript 5 in tests via ESLint
Fixes jquerygh-5542 Closes jquerygh-5563
1 parent 3ebe89f commit d74fc26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,13 @@ export default [
159159
"test/data/core/jquery-iterability-transpiled.js"
160160
],
161161
languageOptions: {
162-
ecmaVersion: 2015,
162+
ecmaVersion: 5,
163163
sourceType: "script",
164164
globals: {
165165
...globals.browser,
166166
require: false,
167+
Promise: false,
168+
Symbol: false,
167169
trustedTypes: false,
168170
QUnit: false,
169171
ajaxTest: false,

0 commit comments

Comments
 (0)