From 28c21e6c67420b8a1c466321dce35e883b6e4e52 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 14 Dec 2021 14:16:15 -0800 Subject: [PATCH] [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `array.prototype.map`, `safe-publish-latest`, `tape` --- .eslintignore | 1 - .eslintrc | 5 ++--- package.json | 16 ++++++++-------- 3 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 404abb2..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/.eslintrc b/.eslintrc index 15c95c1..f76815b 100644 --- a/.eslintrc +++ b/.eslintrc @@ -6,7 +6,6 @@ "rules": { "id-length": 0, "new-cap": [2, { "capIsNewExceptions": ["RequireObjectCoercible"] }], - "no-magic-numbers": [0], - "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"] - } + "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"], + }, } diff --git a/package.json b/package.json index 6c514ac..74980b3 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "prepublishOnly": "safe-publish-latest", "pretest": "npm run lint", "test": "npm run tests-only", - "posttest": "npx aud --production", + "posttest": "aud --production", "tests-only": "nyc tape 'test/**/*.js'", - "lint": "eslint .", + "lint": "eslint --ext=js,mjs .", "postlint": "es-shim-api --bound", "version": "auto-changelog && git add CHANGELOG.md", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" @@ -45,18 +45,18 @@ "es-abstract": "^1.19.1" }, "devDependencies": { - "@es-shims/api": "^2.2.2", - "@ljharb/eslint-config": "^18.0.0", - "array.prototype.map": "^1.0.3", + "@es-shims/api": "^2.2.3", + "@ljharb/eslint-config": "^20.1.0", + "array.prototype.map": "^1.0.4", "aud": "^1.1.5", "auto-changelog": "^2.3.0", - "eslint": "^7.32.0", + "eslint": "^8.4.1", "functions-have-names": "^1.2.2", "has-strict-mode": "^1.0.1", "nyc": "^10.3.2", "object-keys": "^1.1.1", - "safe-publish-latest": "^1.1.4", - "tape": "^5.3.1" + "safe-publish-latest": "^2.0.0", + "tape": "^5.3.2" }, "testling": { "files": "test/index.js",