From c9f29ba7a64d77df1ebd822d30bf652f1ce96e94 Mon Sep 17 00:00:00 2001 From: Robert Rossmann Date: Sun, 25 Feb 2024 18:40:05 +0100 Subject: [PATCH] chore: update ESLint to v8.57.0 --- .vscode/settings.json | 5 +---- makefile | 2 +- package-lock.json | 18 +++++++++--------- package.json | 2 +- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3be4489..8837165 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,10 +20,7 @@ "files.trimTrailingWhitespace": true, "typescript.tsdk": "node_modules/typescript/lib", "typescript.enablePromptUseWorkspaceTsdk": true, - "eslint.lintTask.options": "--cache --config eslint.config.mjs .", + "eslint.lintTask.options": "--cache .", "eslint.experimental.useFlatConfig": true, - "eslint.options": { - "overrideConfigFile": "eslint.config.mjs", - }, "mochaExplorer.files": "{src,test}/**/*.test.js" } diff --git a/makefile b/makefile index 95c412e..c0dc504 100644 --- a/makefile +++ b/makefile @@ -53,7 +53,7 @@ coverage: coverage/lcov.info install: node_modules $(GITFILES) lint: force install - eslint --cache --config eslint.config.mjs $(ESLINT_FLAGS) . + eslint --cache $(ESLINT_FLAGS) . remark --quiet . test: force compile diff --git a/package-lock.json b/package-lock.json index f6a1edf..9c36066 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@types/mocha": "^10.0.0", "@types/sinon": "^17.0.0", "c8": "^9.1.0", - "eslint": "^8.56.0", + "eslint": "^8.57.0", "expect": "^29.6.1", "mocha": "^10.3.0", "remark-cli": "^12.0.0", @@ -598,9 +598,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", - "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -4093,16 +4093,16 @@ } }, "node_modules/eslint": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", - "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", diff --git a/package.json b/package.json index 5defbab..46f5c06 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@types/mocha": "^10.0.0", "@types/sinon": "^17.0.0", "c8": "^9.1.0", - "eslint": "^8.56.0", + "eslint": "^8.57.0", "expect": "^29.6.1", "mocha": "^10.3.0", "remark-cli": "^12.0.0",