add format check, update prettier rules, apply rules consistently

This commit is contained in:
Gregor Vostrak
2025-07-29 18:58:31 +02:00
parent b11672732b
commit a3d7cdaf4d
323 changed files with 3728 additions and 5579 deletions

View File

@@ -19,15 +19,13 @@ function getCurrentOrganizationId() {
}
function getCurrentMembershipId() {
return page.props.auth.user.all_teams.find(
(team) => team.id === getCurrentOrganizationId()
)?.membership.id;
return page.props.auth.user.all_teams.find((team) => team.id === getCurrentOrganizationId())
?.membership.id;
}
function getCurrentRole() {
return page.props.auth.user.all_teams.find(
(team) => team.id === getCurrentOrganizationId()
)?.membership.role;
return page.props.auth.user.all_teams.find((team) => team.id === getCurrentOrganizationId())
?.membership.role;
}
export {