From 4d53480a72b4f799f440b15593c05337aa5bf56b Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Sun, 15 Jan 2023 07:10:32 +0100 Subject: [PATCH] fix lint --- lib/constants/programming-language.ts | 2 +- lib/modules/manager/regex/utils.ts | 2 +- lib/modules/versioning/pep440/range.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/constants/programming-language.ts b/lib/constants/programming-language.ts index f481973a7e8690..79f2ccff6ebecd 100644 --- a/lib/constants/programming-language.ts +++ b/lib/constants/programming-language.ts @@ -13,4 +13,4 @@ export const programmingLanguages = [ 'rust', ] as const; -export type ProgrammingLanguage = typeof programmingLanguages[number]; +export type ProgrammingLanguage = (typeof programmingLanguages)[number]; diff --git a/lib/modules/manager/regex/utils.ts b/lib/modules/manager/regex/utils.ts index fab60f86ec54ce..fbe31c506b1750 100644 --- a/lib/modules/manager/regex/utils.ts +++ b/lib/modules/manager/regex/utils.ts @@ -18,7 +18,7 @@ export const validMatchFields = [ 'depType', ] as const; -type ValidMatchFields = typeof validMatchFields[number]; +type ValidMatchFields = (typeof validMatchFields)[number]; function updateDependency( dependency: PackageDependency, diff --git a/lib/modules/versioning/pep440/range.ts b/lib/modules/versioning/pep440/range.ts index 5e2dde8ef8bf16..166ef9b5596582 100644 --- a/lib/modules/versioning/pep440/range.ts +++ b/lib/modules/versioning/pep440/range.ts @@ -17,7 +17,7 @@ const UserPolicy = { None: Infinity, } as const; -type UserPolicy = typeof UserPolicy[keyof typeof UserPolicy]; +type UserPolicy = (typeof UserPolicy)[keyof typeof UserPolicy]; /** * Calculate current update range precision.