mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Enforce ECMAScript 5 in tests via ESLint
Fixes gh-5542
Closes gh-5563
(cherry picked from commit d74fc265de
)
This commit is contained in:
parent
92a437bed2
commit
ce7db4adf0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user