From adebecc041a7c99e7fef2378142b137ed2d97239 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 01:15:19 +0000 Subject: [PATCH 1/3] chore(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.21.0 to 8.4.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.4.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 87963b7863..c98f659fe5 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "devDependencies": { "@babel/core": "7.24.7", "@babel/preset-env": "7.25.4", - "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^6.21.0", "acquit": "1.3.0", "acquit-ignore": "0.2.1", From 591c9ff0243dd9b75b46b1a06d47d89ab109d94b Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 2 Sep 2024 21:17:16 -0400 Subject: [PATCH 2/3] chore: bump typescript eslint parser --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c98f659fe5..0ee1b5704d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@babel/core": "7.24.7", "@babel/preset-env": "7.25.4", "@typescript-eslint/eslint-plugin": "^8.4.0", - "@typescript-eslint/parser": "^6.21.0", + "@typescript-eslint/parser": "^8.4.0", "acquit": "1.3.0", "acquit-ignore": "0.2.1", "acquit-require": "0.1.1", From fe24bf46775f0f8a4a5bb81521eab98fe29daa1f Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 2 Sep 2024 21:32:00 -0400 Subject: [PATCH 3/3] chore: fix new lint issues --- .eslintrc.js | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 1bf13a95d2..b4d7d1652d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -56,29 +56,15 @@ module.exports = { '@typescript-eslint/ban-types': 'off', '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', - '@typescript-eslint/indent': [ - 'warn', - 2, - { - SwitchCase: 1, - ignoredNodes: ['TSTypeParameterInstantiation'] - } - ], '@typescript-eslint/prefer-optional-chain': 'error', - '@typescript-eslint/brace-style': 'error', '@typescript-eslint/no-dupe-class-members': 'error', '@typescript-eslint/no-redeclare': 'error', - '@typescript-eslint/type-annotation-spacing': 'error', - '@typescript-eslint/object-curly-spacing': [ - 'error', - 'always' - ], - '@typescript-eslint/semi': 'error', - '@typescript-eslint/space-before-function-paren': [ - 'error', - 'never' - ], - '@typescript-eslint/space-infix-ops': 'off' + '@typescript-eslint/space-infix-ops': 'off', + '@typescript-eslint/no-require-imports': 'off', + '@typescript-eslint/no-empty-object-type': 'off', + '@typescript-eslint/no-wrapper-object-types': 'off', + '@typescript-eslint/no-unused-expressions': 'off', + '@typescript-eslint/no-unsafe-function-type': 'off' } }, {