From 51ae645c8325d6037d4389260a442e27c2efce73 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 24 Jan 2022 19:50:50 -0800 Subject: [PATCH] [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud` --- .eslintignore | 2 -- .eslintrc | 10 ++++------ package.json | 6 +++--- 3 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index ed88d37f..00000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -coverage/ -.nyc_output/ diff --git a/.eslintrc b/.eslintrc index b1f1fd73..365f8bc0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -7,17 +7,13 @@ }, "parserOptions": { "ecmaVersion": 5, - }, - "globals": { - "Promise": false, + "allowReserved": false, }, "rules": { "array-bracket-spacing": "off", "complexity": "off", - "eqeqeq": ["error", "always", { "null": "ignore" }], "func-style": "warn", "indent": ["error", 4], - "no-magic-numbers": "off", "max-lines": "warn", "max-lines-per-function": "warn", "max-statements": "warn", @@ -30,7 +26,9 @@ "operator-linebreak": ["error", "before"], "sort-keys": "warn", }, - "ignorePatterns": [ "syntax-error.*" ], + "ignorePatterns": [ + "syntax-error.*", + ], "overrides": [ { "files": ["*.mjs", "test/import/package_type/*.js"], diff --git a/package.json b/package.json index e3e5a23f..68a5df94 100644 --- a/package.json +++ b/package.json @@ -26,14 +26,14 @@ "through": "~2.3.8" }, "devDependencies": { - "@ljharb/eslint-config": "^19.0.1", + "@ljharb/eslint-config": "^20.2.0", "array.prototype.flatmap": "^1.2.5", - "aud": "^1.1.5", + "aud": "^2.0.0", "concat-stream": "^1.6.2", "eclint": "^2.8.1", "ecstatic": "^4.1.4", "es-value-fixtures": "^1.2.1", - "eslint": "^8.2.0", + "eslint": "^8.7.0", "falafel": "^2.2.4", "js-yaml": "^3.14.0", "safe-publish-latest": "^2.0.0",