From 4be0de3c68d4e6e4b15ac8d1ce6d95fd2e86516f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:24:52 +0200 Subject: [PATCH] feat(deps): update dependency eslint-plugin-unicorn to v52 (#165) * fix(deps): update dependency eslint-plugin-unicorn to v52 * fix: lint errors --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jens Simon --- lib/common.js | 4 +++- lib/frontend/common.js | 4 +++- package.json | 2 +- yarn.lock | 10 +++++----- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/lib/common.js b/lib/common.js index c93099b..a4ee27e 100644 --- a/lib/common.js +++ b/lib/common.js @@ -1,4 +1,4 @@ -module.exports = ({ +const config = ({ extends: ext, plugins, env, @@ -106,3 +106,5 @@ module.exports = ({ ...overrides || [], ], }) + +module.exports = config diff --git a/lib/frontend/common.js b/lib/frontend/common.js index d9dd413..ca38635 100644 --- a/lib/frontend/common.js +++ b/lib/frontend/common.js @@ -1,6 +1,6 @@ const common = require('../common') -module.exports = ({ +const config = ({ env, plugins, extends: ext, @@ -34,3 +34,5 @@ module.exports = ({ }, overrides, }) + +module.exports = config diff --git a/package.json b/package.json index 56c0fcd..dd62c7c 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-redux": "^4.0.0", "eslint-plugin-sonarjs": "^0.25.0", - "eslint-plugin-unicorn": "^51.0.0", + "eslint-plugin-unicorn": "^52.0.0", "eslint-plugin-wc": "^2.0.4" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 427d931..fe71348 100644 --- a/yarn.lock +++ b/yarn.lock @@ -420,7 +420,7 @@ __metadata: eslint-plugin-react-hooks: "npm:^4.6.0" eslint-plugin-react-redux: "npm:^4.0.0" eslint-plugin-sonarjs: "npm:^0.25.0" - eslint-plugin-unicorn: "npm:^51.0.0" + eslint-plugin-unicorn: "npm:^52.0.0" eslint-plugin-wc: "npm:^2.0.4" husky: "npm:^9.0.0" lint-staged: "npm:^15.0.2" @@ -2985,9 +2985,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-unicorn@npm:^51.0.0": - version: 51.0.1 - resolution: "eslint-plugin-unicorn@npm:51.0.1" +"eslint-plugin-unicorn@npm:^52.0.0": + version: 52.0.0 + resolution: "eslint-plugin-unicorn@npm:52.0.0" dependencies: "@babel/helper-validator-identifier": "npm:^7.22.20" "@eslint-community/eslint-utils": "npm:^4.4.0" @@ -3007,7 +3007,7 @@ __metadata: strip-indent: "npm:^3.0.0" peerDependencies: eslint: ">=8.56.0" - checksum: 10c0/e3b019e55d60511c18aec081ff512366f917d0162db3ee122e1f881657b9a1c89e0d505bb7aec968d612ff3c757c055d5b734aaf0b3078a283315bb7db56ca04 + checksum: 10c0/c68055ccbbdd4af50fd902f4fd88737f4047cbb727c8135efc578f747007a6c30a65c30af460b667f86e7a8f68d5a8ca031631018a4bdc719bb85114c77d319e languageName: node linkType: hard