From b42cddee12445d326a45d1f514b3b2d9cbc40de4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Dec 2023 10:44:42 +0000 Subject: [PATCH] Bump @ericcornelissen/eslint-plugin-top from 2.1.0 to 2.3.1 (#1370) * Bump @ericcornelissen/eslint-plugin-top from 2.1.0 to 2.3.1 Bumps [@ericcornelissen/eslint-plugin-top](https://github.com/ericcornelissen/eslint-plugin-top) from 2.1.0 to 2.3.1. - [Changelog](https://github.com/ericcornelissen/eslint-plugin-top/blob/main/CHANGELOG.md) - [Commits](https://github.com/ericcornelissen/eslint-plugin-top/compare/v2.1.0...v2.3.1) --- updated-dependencies: - dependency-name: "@ericcornelissen/eslint-plugin-top" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update `(at)ericcornelissen/eslint-plugin-top` configuration --------- Co-authored-by: Eric Cornelissen --- config/eslint.yml | 7 +++++++ package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/config/eslint.yml b/config/eslint.yml index 7091c50d4..0c6d265e7 100644 --- a/config/eslint.yml +++ b/config/eslint.yml @@ -507,6 +507,13 @@ rules: - allowIIFE: false "@ericcornelissen/top/no-top-level-variables": - error + - constAllowed: + - ArrayExpression + - ArrowFunctionExpression + - FunctionExpression + - Literal + - MemberExpression + - TemplateLiteral settings: jsdoc: ignorePrivate: false diff --git a/package-lock.json b/package-lock.json index 8bd0aae6f..f2ce61f42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@arethetypeswrong/cli": "0.13.4", - "@ericcornelissen/eslint-plugin-top": "2.1.0", + "@ericcornelissen/eslint-plugin-top": "2.3.1", "@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.1.0", - "resolved": "https://registry.npmjs.org/@ericcornelissen/eslint-plugin-top/-/eslint-plugin-top-2.1.0.tgz", - "integrity": "sha512-fBIrU486G+xwE5XSrM8hg2gUKRyAaxg8rGgeLamkWdT2YyVN+D8ysQzLTgnO0huDCFsSjG3fIYoGIZy5IabbeA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@ericcornelissen/eslint-plugin-top/-/eslint-plugin-top-2.3.1.tgz", + "integrity": "sha512-lynL0i6UhfR6DMQgVVGA5Dm3759MMBlOfZ6+INsjpUI7jKYoFC28cpJGIpfFhmngpPDalB2Ha1oCky6Us7a7Yw==", "dev": true, "engines": { "node": "18.x || 20.x" diff --git a/package.json b/package.json index c0d883fcc..a47f6b18d 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ }, "devDependencies": { "@arethetypeswrong/cli": "0.13.4", - "@ericcornelissen/eslint-plugin-top": "2.1.0", + "@ericcornelissen/eslint-plugin-top": "2.3.1", "@fast-check/ava": "1.2.1", "@gitlab-org/jsfuzz": "1.2.2", "@stryker-mutator/core": "8.0.0",