chore(deps-dev): bump prettier from 3.0.3 to 3.1.0 (#9745)

* chore(deps-dev): bump prettier from 3.0.3 to 3.1.0

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update formatting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <git@chris-shaw.dev>
This commit is contained in:
dependabot[bot]
2023-11-19 19:13:15 +00:00
committed by GitHub
parent c4d7c84523
commit a7e6f15e5e
5 changed files with 11 additions and 12 deletions

View File

@@ -202,9 +202,8 @@ export default class GithubHacktoberfestCombinedStatus extends GithubAuthV4Servi
}
async handle({ user, repo, year }, { suggestion_label: suggestionLabel }) {
const { isBefore, daysToStart } = this.constructor.getCalendarPosition(
+year,
)
const { isBefore, daysToStart } =
this.constructor.getCalendarPosition(+year)
if (isBefore) {
return this.constructor.render({ hasStarted: false, daysToStart, year })
}

View File

@@ -58,8 +58,8 @@ class OpencollectiveBaseJson extends BaseJsonService {
userType === 'users'
? 'USER'
: userType === 'organizations'
? 'ORGANIZATION'
: undefined,
? 'ORGANIZATION'
: undefined,
tierRequired: tierId,
})
const members = await this._requestJson({

View File

@@ -59,8 +59,8 @@ function compareDottedVersion(v1, v2) {
return distinguisher1 < distinguisher2
? -1
: distinguisher1 > distinguisher2
? 1
: 0
? 1
: 0
}
}
return v1 < v2 ? -1 : v1 > v2 ? 1 : 0