chore: fixed linters

This commit is contained in:
Jannat Patel
2024-08-12 20:13:57 +05:30
parent cf2c2345c3
commit 3e82608d5f

View File

@@ -492,10 +492,10 @@ export function singularize(word) {
zes: 'ze',
ses: 's',
es: 'e',
s: ''
};
s: '',
}
return word.replace(
new RegExp(`(${Object.keys(endings).join('|')})$`),
r => endings[r]
);
(r) => endings[r]
)
}