Skip to content

Commit ce7db4a

Browse files
neogy-akashmgol
authored andcommitted
Build: Enforce ECMAScript 5 in tests via ESLint
Fixes jquerygh-5542 Closes jquerygh-5563 (cherry picked from commit d74fc26)
1 parent 92a437b commit ce7db4a

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
@@ -122,11 +122,13 @@ module.exports = [
122122
"test/data/core/jquery-iterability-transpiled.js"
123123
],
124124
languageOptions: {
125-
ecmaVersion: 2015,
125+
ecmaVersion: 5,
126126
sourceType: "script",
127127
globals: {
128128
...globals.browser,
129129
require: false,
130+
Promise: false,
131+
Symbol: false,
130132
trustedTypes: false,
131133
QUnit: false,
132134
ajaxTest: false,

0 commit comments

Comments
 (0)