From bf2dd5e7cbe3e8d8e8dc4c5607b2f1a3ce08edf1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 11:06:12 +0000 Subject: [PATCH] Bump @ericcornelissen/eslint-plugin-top from 2.3.1 to 3.0.0 (#1372) * Bump @ericcornelissen/eslint-plugin-top from 2.3.1 to 3.0.0 Bumps [@ericcornelissen/eslint-plugin-top](https://github.com/ericcornelissen/eslint-plugin-top) from 2.3.1 to 3.0.0. - [Changelog](https://github.com/ericcornelissen/eslint-plugin-top/blob/main/CHANGELOG.md) - [Commits](https://github.com/ericcornelissen/eslint-plugin-top/compare/v2.3.1...v3.0.0) --- updated-dependencies: - dependency-name: "@ericcornelissen/eslint-plugin-top" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Update eslint-plugin-top config for v3 Adjust the configuration for the breaking changes of v3 and explicitly configure all options. Co-authored-by: Eric Cornelissen --- config/eslint.yml | 15 ++++++++------- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/config/eslint.yml b/config/eslint.yml index 0c6d265e7..0be5099dc 100644 --- a/config/eslint.yml +++ b/config/eslint.yml @@ -504,16 +504,17 @@ rules: # https://github.com/ericcornelissen/eslint-plugin-top#readme "@ericcornelissen/top/no-top-level-side-effects": - error - - allowIIFE: false + - allowedCalls: + - Symbol + allowedNews: [] + allowIIFE: false + commonjs: false "@ericcornelissen/top/no-top-level-variables": - error - - constAllowed: + - allowed: - ArrayExpression - - ArrowFunctionExpression - - FunctionExpression - - Literal - - MemberExpression - - TemplateLiteral + kind: + - const settings: jsdoc: ignorePrivate: false diff --git a/package-lock.json b/package-lock.json index f2ce61f42..e0f35fb2a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@arethetypeswrong/cli": "0.13.4", - "@ericcornelissen/eslint-plugin-top": "2.3.1", + "@ericcornelissen/eslint-plugin-top": "3.0.0", "@fast-check/ava": "1.2.1", "@gitlab-org/jsfuzz": "1.2.2", "@stryker-mutator/core": "8.0.0", @@ -870,9 +870,9 @@ } }, "node_modules/@ericcornelissen/eslint-plugin-top": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@ericcornelissen/eslint-plugin-top/-/eslint-plugin-top-2.3.1.tgz", - "integrity": "sha512-lynL0i6UhfR6DMQgVVGA5Dm3759MMBlOfZ6+INsjpUI7jKYoFC28cpJGIpfFhmngpPDalB2Ha1oCky6Us7a7Yw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@ericcornelissen/eslint-plugin-top/-/eslint-plugin-top-3.0.0.tgz", + "integrity": "sha512-0pAZpzoKh70Mot2HiiewwWyzltEVXvxJzDKIgVem3COY2A8qTtsHljc8GkiuKyR5vpJLC4UmP2fngLpn8/isqA==", "dev": true, "engines": { "node": "18.x || 20.x" diff --git a/package.json b/package.json index a47f6b18d..32d60197f 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ }, "devDependencies": { "@arethetypeswrong/cli": "0.13.4", - "@ericcornelissen/eslint-plugin-top": "2.3.1", + "@ericcornelissen/eslint-plugin-top": "3.0.0", "@fast-check/ava": "1.2.1", "@gitlab-org/jsfuzz": "1.2.2", "@stryker-mutator/core": "8.0.0",