From 93310bc01ddacbe23a93b3022daebc9b6f6ae8c3 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sat, 14 Dec 2019 20:41:01 -0800 Subject: [PATCH] [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `tape` --- .eslintrc | 5 +++++ implementation.js | 1 - package.json | 8 ++++---- test/tests.js | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.eslintrc b/.eslintrc index 0acd40e..008b810 100644 --- a/.eslintrc +++ b/.eslintrc @@ -3,6 +3,11 @@ "extends": "@ljharb", + "env": { + "browser": true, + "node": true, + }, + "globals": { "globalThis": false, }, diff --git a/implementation.js b/implementation.js index 511fc86..6742e9a 100644 --- a/implementation.js +++ b/implementation.js @@ -1,4 +1,3 @@ -/* globals self, window, global */ /* eslint no-negated-condition: 0, no-new-func: 0 */ 'use strict'; diff --git a/package.json b/package.json index 6582f44..ef6bfd7 100644 --- a/package.json +++ b/package.json @@ -46,13 +46,13 @@ }, "devDependencies": { "@es-shims/api": "^2.1.2", - "@ljharb/eslint-config": "^13.1.1", - "browserify": "^16.2.3", + "@ljharb/eslint-config": "^15.0.2", + "browserify": "^16.5.0", "covert": "^1.1.1", - "eslint": "^5.16.0", + "eslint": "^6.7.2", "for-each": "^0.3.3", "is": "^3.3.0", - "tape": "^4.10.2" + "tape": "^4.11.0" }, "testling": { "files": "test/index.js", diff --git a/test/tests.js b/test/tests.js index 3d72b67..2189640 100644 --- a/test/tests.js +++ b/test/tests.js @@ -30,7 +30,7 @@ module.exports = function (theGlobal, t) { /* eslint no-eval: 1 */ eval(key + ' = semaphore;'); st.equal(theGlobal[key], semaphore, 'global variable ends up on the global object'); - delete theGlobal[key]; + delete theGlobal[key]; // eslint-disable-line no-param-reassign st.end(); }); };