chore: object shorthand linting rule (#12152)

chore: object shorthand
This commit is contained in:
Jason Rasmussen
2024-08-30 14:38:53 -04:00
committed by GitHub
parent 40854f358c
commit 5e6ac87eaf
23 changed files with 30 additions and 28 deletions

View File

@@ -28,5 +28,5 @@ export const searchNameLocal = (
};
export const getPersonNameWithHiddenValue = derived(t, ($t) => {
return (name: string, isHidden: boolean) => $t('person_hidden', { values: { name: name, hidden: isHidden } });
return (name: string, isHidden: boolean) => $t('person_hidden', { values: { name, hidden: isHidden } });
});