@@ -25,7 +25,7 @@ const DEFAULT_VISIBLE_MAINTAINERS = 5
2525// Show admin controls when connected (let npm CLI handle permission errors)
2626const canManageOwners = computed (() => isConnected .value )
2727
28- // Computed for visible maintainers with show more/less support
28+ // Computed for visible maintainers with show more/fewer support
2929const visibleMaintainers = computed (() => {
3030 if (canManageOwners .value || showAllMaintainers .value ) {
3131 return maintainerAccess .value
@@ -195,7 +195,10 @@ watch(
195195 <div class =" flex items-center gap-2 min-w-0" >
196196 <NuxtLink
197197 v-if =" maintainer.name"
198- :to =" { name: '~username', params: { username: maintainer.name } }"
198+ :to =" {
199+ name: '~username',
200+ params: { username: maintainer.name },
201+ }"
199202 class =" link-subtle font-mono text-sm shrink-0"
200203 >
201204 @{{ maintainer.name }}
@@ -207,7 +210,11 @@ watch(
207210 v-if =" isConnected && maintainer.accessVia?.length && !isLoadingAccess"
208211 class =" text-xs text-fg-subtle truncate"
209212 >
210- {{ $t('package.maintainers.via', { teams: maintainer.accessVia.join(', ') }) }}
213+ {{
214+ $t('package.maintainers.via', {
215+ teams: maintainer.accessVia.join(', '),
216+ })
217+ }}
211218 </span >
212219 <span
213220 v-if =" canManageOwners && maintainer.name === npmUser"
@@ -221,7 +228,11 @@ watch(
221228 v-if =" canManageOwners && maintainer.name && maintainer.name !== npmUser"
222229 type =" button"
223230 class =" p-1 text-fg-subtle hover:text-red-400 transition-colors duration-200 shrink-0 rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
224- :aria-label =" $t('package.maintainers.remove_owner', { name: maintainer.name })"
231+ :aria-label ="
232+ $t('package.maintainers.remove_owner', {
233+ name: maintainer.name,
234+ })
235+ "
225236 @click =" handleRemoveOwner(maintainer.name)"
226237 >
227238 <span class =" i-carbon-close block w-3.5 h-3.5" aria-hidden =" true" />
@@ -239,7 +250,9 @@ watch(
239250 {{
240251 showAllMaintainers
241252 ? $t('package.maintainers.show_less')
242- : $t('package.maintainers.show_more', { count: hiddenMaintainersCount })
253+ : $t('package.maintainers.show_more', {
254+ count: hiddenMaintainersCount,
255+ })
243256 }}
244257 </button >
245258
0 commit comments