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
This commit is contained in:
parent
3ebe89f6be
commit
d74fc265de
@ -159,11 +159,13 @@ export default [
|
|||||||
"test/data/core/jquery-iterability-transpiled.js"
|
"test/data/core/jquery-iterability-transpiled.js"
|
||||||
],
|
],
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
ecmaVersion: 2015,
|
ecmaVersion: 5,
|
||||||
sourceType: "script",
|
sourceType: "script",
|
||||||
globals: {
|
globals: {
|
||||||
...globals.browser,
|
...globals.browser,
|
||||||
require: false,
|
require: false,
|
||||||
|
Promise: false,
|
||||||
|
Symbol: false,
|
||||||
trustedTypes: false,
|
trustedTypes: false,
|
||||||
QUnit: false,
|
QUnit: false,
|
||||||
ajaxTest: false,
|
ajaxTest: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user