Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jan 15, 2023
1 parent 8694f8c commit 4d53480
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/constants/programming-language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export const programmingLanguages = [
'rust',
] as const;

export type ProgrammingLanguage = typeof programmingLanguages[number];
export type ProgrammingLanguage = (typeof programmingLanguages)[number];
2 changes: 1 addition & 1 deletion lib/modules/manager/regex/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const validMatchFields = [
'depType',
] as const;

type ValidMatchFields = typeof validMatchFields[number];
type ValidMatchFields = (typeof validMatchFields)[number];

function updateDependency(
dependency: PackageDependency,
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/versioning/pep440/range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4d53480

Please sign in to comment.