From 38e2fdf1b077653f2461d1c52459b85a8a134a91 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 15 Mar 2020 22:20:22 -0700 Subject: [PATCH] Bumped minimum ESLint version to 6.8.0. --- js_tests/admin/DateTimeShortcuts.test.js | 2 +- js_tests/admin/RelatedObjectLookups.test.js | 2 +- js_tests/admin/SelectBox.test.js | 2 +- js_tests/admin/SelectFilter2.test.js | 2 +- js_tests/admin/URLify.test.js | 2 +- js_tests/admin/actions.test.js | 2 +- js_tests/admin/core.test.js | 2 +- js_tests/admin/inlines.test.js | 2 +- js_tests/gis/mapwidget.test.js | 2 +- package.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/js_tests/admin/DateTimeShortcuts.test.js b/js_tests/admin/DateTimeShortcuts.test.js index 7cc0bda60c..dfd5f231af 100644 --- a/js_tests/admin/DateTimeShortcuts.test.js +++ b/js_tests/admin/DateTimeShortcuts.test.js @@ -1,5 +1,5 @@ /* global QUnit, DateTimeShortcuts */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.DateTimeShortcuts'); diff --git a/js_tests/admin/RelatedObjectLookups.test.js b/js_tests/admin/RelatedObjectLookups.test.js index 9ec1eed102..8585e9ada3 100644 --- a/js_tests/admin/RelatedObjectLookups.test.js +++ b/js_tests/admin/RelatedObjectLookups.test.js @@ -1,6 +1,6 @@ /* global QUnit, id_to_windowname, windowname_to_id */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.RelatedObjectLookups'); diff --git a/js_tests/admin/SelectBox.test.js b/js_tests/admin/SelectBox.test.js index 23c057c364..bca4941fa6 100644 --- a/js_tests/admin/SelectBox.test.js +++ b/js_tests/admin/SelectBox.test.js @@ -1,5 +1,5 @@ /* global QUnit, SelectBox */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.SelectBox'); diff --git a/js_tests/admin/SelectFilter2.test.js b/js_tests/admin/SelectFilter2.test.js index c6b3000465..79b61c58ae 100644 --- a/js_tests/admin/SelectFilter2.test.js +++ b/js_tests/admin/SelectFilter2.test.js @@ -1,5 +1,5 @@ /* global QUnit, SelectFilter */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.SelectFilter2'); diff --git a/js_tests/admin/URLify.test.js b/js_tests/admin/URLify.test.js index cc738bc4ad..e9c16fc752 100644 --- a/js_tests/admin/URLify.test.js +++ b/js_tests/admin/URLify.test.js @@ -1,5 +1,5 @@ /* global QUnit, URLify */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.URLify'); diff --git a/js_tests/admin/actions.test.js b/js_tests/admin/actions.test.js index 3ff8709ec6..8d15dbd55e 100644 --- a/js_tests/admin/actions.test.js +++ b/js_tests/admin/actions.test.js @@ -1,5 +1,5 @@ /* global QUnit */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.actions', { diff --git a/js_tests/admin/core.test.js b/js_tests/admin/core.test.js index 9e1f3fa9b6..ad5b91a903 100644 --- a/js_tests/admin/core.test.js +++ b/js_tests/admin/core.test.js @@ -1,5 +1,5 @@ /* global QUnit */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.core'); diff --git a/js_tests/admin/inlines.test.js b/js_tests/admin/inlines.test.js index 7a04e870bb..e450584c62 100644 --- a/js_tests/admin/inlines.test.js +++ b/js_tests/admin/inlines.test.js @@ -1,5 +1,5 @@ /* global QUnit */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('admin.inlines: tabular formsets', { diff --git a/js_tests/gis/mapwidget.test.js b/js_tests/gis/mapwidget.test.js index e4e4e74777..4198cbf2b6 100644 --- a/js_tests/gis/mapwidget.test.js +++ b/js_tests/gis/mapwidget.test.js @@ -1,5 +1,5 @@ /* global QUnit, MapWidget */ -/* eslint global-strict: 0, strict: 0 */ +/* eslint strict: 0 */ 'use strict'; QUnit.module('gis.OLMapWidget'); diff --git a/package.json b/package.json index 8a3853ff9f..6a3bed9a33 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "npm": ">=1.3.0 <3.0.0" }, "devDependencies": { - "eslint": "^4.18.2", + "eslint": "^6.8.0", "grunt": "^1.0.1", "grunt-cli": "^1.2.0", "grunt-contrib-qunit": "^1.2.0"