From 7481c1feceb84bc55c48cb1c5592b17a8b0496c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 02:11:30 -0800 Subject: [PATCH] Bump @typescript-eslint/experimental-utils from 5.10.1 to 5.10.2 in /desktop (#3411) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Bumps [typescript-eslint/experimental-utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/experimental-utils) from 5.10.1 to 5.10.2.
Release notes

Sourced from @​typescript-eslint/experimental-utils's releases.

v5.10.2

5.10.2 (2022-01-31)

Bug Fixes

Changelog

Sourced from @​typescript-eslint/experimental-utils's changelog.

5.10.2 (2022-01-31)

Note: Version bump only for package @​typescript-eslint/experimental-utils

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/experimental-utils&package-manager=npm_and_yarn&previous-version=5.10.1&new-version=5.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request resolved: https://github.com/facebook/flipper/pull/3411 Reviewed By: passy Differential Revision: D34050514 Pulled By: mweststrate fbshipit-source-id: 272d07121cbfe0720b23844f50942c5b04fb5809 --- desktop/eslint-plugin-flipper/package.json | 2 +- .../rules/noConsoleErrorWithoutContext.tsx | 2 +- .../src/rules/noElectronRemoteImports.tsx | 2 +- .../src/rules/noIPrefixInterfaces.tsx | 2 +- .../src/rules/noInterfacePropsOrState.tsx | 2 +- .../rules/noRelativeImportsAcrossPackages.tsx | 2 +- .../src/rules/noTsFileExtension.tsx | 2 +- .../src/utils/createEslintRule.tsx | 4 +++- desktop/yarn.lock | 22 ++++++++++++++----- 9 files changed, 27 insertions(+), 13 deletions(-) diff --git a/desktop/eslint-plugin-flipper/package.json b/desktop/eslint-plugin-flipper/package.json index e3f3dd3be..b40689a48 100644 --- a/desktop/eslint-plugin-flipper/package.json +++ b/desktop/eslint-plugin-flipper/package.json @@ -10,7 +10,7 @@ "license": "MIT", "bugs": "https://github.com/facebook/flipper/issues", "dependencies": { - "@typescript-eslint/experimental-utils": "^5.10.1", + "@typescript-eslint/experimental-utils": "^5.10.2", "@typescript-eslint/parser": "^5.10.2", "fs-extra": "^10.0.0" }, diff --git a/desktop/eslint-plugin-flipper/src/rules/noConsoleErrorWithoutContext.tsx b/desktop/eslint-plugin-flipper/src/rules/noConsoleErrorWithoutContext.tsx index 2512514b6..bc5e7f3ef 100644 --- a/desktop/eslint-plugin-flipper/src/rules/noConsoleErrorWithoutContext.tsx +++ b/desktop/eslint-plugin-flipper/src/rules/noConsoleErrorWithoutContext.tsx @@ -60,4 +60,4 @@ export default createESLintRule({ }, }; }, -}); +}) as any /* unnameable return type */; diff --git a/desktop/eslint-plugin-flipper/src/rules/noElectronRemoteImports.tsx b/desktop/eslint-plugin-flipper/src/rules/noElectronRemoteImports.tsx index 0355ea3a8..0edae22a4 100644 --- a/desktop/eslint-plugin-flipper/src/rules/noElectronRemoteImports.tsx +++ b/desktop/eslint-plugin-flipper/src/rules/noElectronRemoteImports.tsx @@ -49,4 +49,4 @@ export default createESLintRule({ }, }; }, -}); +}) as any /* unnameable return type */; diff --git a/desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.tsx b/desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.tsx index 935fbf3b8..dfe15e868 100644 --- a/desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.tsx +++ b/desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.tsx @@ -47,7 +47,7 @@ export default createESLintRule({ }, }; }, -}); +}) as any /* unnameable return type */; function isLetter(x: string | undefined): boolean { return typeof x === 'string' && /^[a-z]$/i.test(x); diff --git a/desktop/eslint-plugin-flipper/src/rules/noInterfacePropsOrState.tsx b/desktop/eslint-plugin-flipper/src/rules/noInterfacePropsOrState.tsx index 7a8cd7aeb..74f772d18 100644 --- a/desktop/eslint-plugin-flipper/src/rules/noInterfacePropsOrState.tsx +++ b/desktop/eslint-plugin-flipper/src/rules/noInterfacePropsOrState.tsx @@ -45,4 +45,4 @@ export default createESLintRule({ }, }; }, -}); +}) as any /* unnameable return type */; diff --git a/desktop/eslint-plugin-flipper/src/rules/noRelativeImportsAcrossPackages.tsx b/desktop/eslint-plugin-flipper/src/rules/noRelativeImportsAcrossPackages.tsx index 264995561..81355a10b 100644 --- a/desktop/eslint-plugin-flipper/src/rules/noRelativeImportsAcrossPackages.tsx +++ b/desktop/eslint-plugin-flipper/src/rules/noRelativeImportsAcrossPackages.tsx @@ -106,4 +106,4 @@ export default createESLintRule({ }, }; }, -}); +}) as any /* unnameable return type */; diff --git a/desktop/eslint-plugin-flipper/src/rules/noTsFileExtension.tsx b/desktop/eslint-plugin-flipper/src/rules/noTsFileExtension.tsx index 64a73e193..20c607fe3 100644 --- a/desktop/eslint-plugin-flipper/src/rules/noTsFileExtension.tsx +++ b/desktop/eslint-plugin-flipper/src/rules/noTsFileExtension.tsx @@ -45,4 +45,4 @@ export default createESLintRule({ }, }; }, -}); +}) as any /* unnameable return type */; diff --git a/desktop/eslint-plugin-flipper/src/utils/createEslintRule.tsx b/desktop/eslint-plugin-flipper/src/utils/createEslintRule.tsx index 6630cb21a..c51e05c09 100644 --- a/desktop/eslint-plugin-flipper/src/utils/createEslintRule.tsx +++ b/desktop/eslint-plugin-flipper/src/utils/createEslintRule.tsx @@ -9,4 +9,6 @@ import {ESLintUtils} from '@typescript-eslint/experimental-utils'; -export const createESLintRule = ESLintUtils.RuleCreator(() => ``); +export type RuleCreator = ReturnType; + +export const createESLintRule: RuleCreator = ESLintUtils.RuleCreator(() => ``); diff --git a/desktop/yarn.lock b/desktop/yarn.lock index 2c8a11640..9ef493e6e 100644 --- a/desktop/yarn.lock +++ b/desktop/yarn.lock @@ -2958,12 +2958,12 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@^5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.10.1.tgz#49fa5a7800ed08ea70aef14fccb14fbae85116ab" - integrity sha512-Ryeb8nkJa/1zKl8iujNtJC8tgj6PgaY0sDUnrTqbmC70nrKKkZaHfiRDTcqICmCSCEQyLQcJAoh0AukLaIaGTw== +"@typescript-eslint/experimental-utils@^5.10.2": + version "5.10.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.10.2.tgz#dbb541e2070c7bd6e63d3e3a55b58be73a8fbb34" + integrity sha512-stRnIlxDduzxtaVLtEohESoXI1k7J6jvJHGyIkOT2pvXbg5whPM6f9tzJ51bJJxaJTdmvwgVFDNCopFRb2F5Gw== dependencies: - "@typescript-eslint/utils" "5.10.1" + "@typescript-eslint/utils" "5.10.2" "@typescript-eslint/parser@^5.10.2": version "5.10.2" @@ -3048,6 +3048,18 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" +"@typescript-eslint/utils@5.10.2": + version "5.10.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.10.2.tgz#1fcd37547c32c648ab11aea7173ec30060ee87a8" + integrity sha512-vuJaBeig1NnBRkf7q9tgMLREiYD7zsMrsN1DA3wcoMDvr3BTFiIpKjGiYZoKPllfEwN7spUjv7ZqD+JhbVjEPg== + dependencies: + "@types/json-schema" "^7.0.9" + "@typescript-eslint/scope-manager" "5.10.2" + "@typescript-eslint/types" "5.10.2" + "@typescript-eslint/typescript-estree" "5.10.2" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + "@typescript-eslint/visitor-keys@5.10.1": version "5.10.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.10.1.tgz#29102de692f59d7d34ecc457ed59ab5fc558010b"